Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001373, allocations: 187.3 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8276/0.8276, allocations: 82.93 MB / 99.42 MB, free: 3.324 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.276/2.276, allocations: 205.4 MB / 325.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 94.67 kB / 393.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007385/0.0007388, allocations: 15.98 kB / 471.5 MB, free: 66.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1788, allocations: 67.45 MB / 0.5263 GB, free: 15.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.PIDHysteresis): time 0.006624/0.1855, allocations: 2.454 MB / 0.5287 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1892, allocations: 0.8899 MB / 0.5296 GB, free: 11.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.1897, allocations: 11.94 kB / 0.5296 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.1899, allocations: 35.59 kB / 0.5297 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008188/0.1908, allocations: 111.6 kB / 0.5298 GB, free: 11.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009998/0.1918, allocations: 158.7 kB / 0.5299 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1928, allocations: 308 kB / 0.5302 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.1934, allocations: 145 kB / 0.5303 GB, free: 11.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.194, allocations: 131.4 kB / 0.5305 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.1943, allocations: 127.2 kB / 0.5306 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.1944, allocations: 12 kB / 0.5306 GB, free: 10.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.1944, allocations: 12 kB / 0.5306 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.1945, allocations: 47.7 kB / 0.5307 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.1946, allocations: 89.52 kB / 0.5307 GB, free: 10.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.1951, allocations: 375.2 kB / 0.5311 GB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.535e-06/0.1951, allocations: 8 kB / 0.5311 GB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1952, allocations: 0 / 0.5311 GB, free: 10.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.407e-06/0.1952, allocations: 0 / 0.5311 GB, free: 10.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001244/0.1964, allocations: 0.6427 MB / 0.5317 GB, free: 9.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1965, allocations: 11.98 kB / 0.5317 GB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1966, allocations: 47.44 kB / 0.5318 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.1974, allocations: 375.4 kB / 0.5322 GB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.1974, allocations: 20.66 kB / 0.5322 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.1975, allocations: 36 kB / 0.5322 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.1983, allocations: 337.1 kB / 0.5325 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1984, allocations: 4 kB / 0.5325 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.1984, allocations: 11.98 kB / 0.5325 GB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.1984, allocations: 12 kB / 0.5326 GB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.1991, allocations: 214.1 kB / 0.5328 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.2013, allocations: 1.198 MB / 0.5339 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/0.2021, allocations: 237.3 kB / 0.5342 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.2022, allocations: 192 / 0.5342 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2022, allocations: 42.75 kB / 0.5342 GB, free: 6.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 6.393e-06/0.2023, allocations: 7.922 kB / 0.5342 GB, free: 6.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009339/0.2032, allocations: 292 kB / 0.5345 GB, free: 6.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.2033, allocations: 102.8 kB / 0.5346 GB, free: 6.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.2038, allocations: 341.6 kB / 0.5349 GB, free: 6.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.2039, allocations: 41.62 kB / 0.5349 GB, free: 6.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.2042, allocations: 220.2 kB / 0.5352 GB, free: 5.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/0.2043, allocations: 70.91 kB / 0.5352 GB, free: 5.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.2043, allocations: 8 kB / 0.5352 GB, free: 5.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.2045, allocations: 346.8 kB / 0.5356 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.2048, allocations: 79.95 kB / 0.5356 GB, free: 5.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.2051, allocations: 143.7 kB / 0.5358 GB, free: 5.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.2054, allocations: 95.89 kB / 0.5359 GB, free: 5.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.2055, allocations: 0 / 0.5359 GB, free: 5.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007781/0.2062, allocations: 285.2 kB / 0.5361 GB, free: 4.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2063, allocations: 4 kB / 0.5361 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.165e-06/0.2063, allocations: 0 / 0.5361 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2063, allocations: 4 kB / 0.5361 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.2067, allocations: 59.91 kB / 0.5362 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.96e-06/0.2067, allocations: 0 / 0.5362 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.207, allocations: 43.67 kB / 0.5362 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.207, allocations: 16.03 kB / 0.5363 GB, free: 4.637 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.2073, allocations: 161.8 kB / 0.5364 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.2074, allocations: 35.58 kB / 0.5364 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2075, allocations: 39.36 kB / 0.5365 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.2075, allocations: 4 kB / 0.5365 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.182e-06/0.2075, allocations: 0 / 0.5365 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.532e-06/0.2075, allocations: 0 / 0.5365 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.2082, allocations: 393.2 kB / 0.5369 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2082, allocations: 4 kB / 0.5369 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.2085, allocations: 43.91 kB / 0.5369 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.2085, allocations: 3.953 kB / 0.5369 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2086, allocations: 8 kB / 0.5369 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.707e-06/0.2086, allocations: 0 / 0.5369 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2086, allocations: 3.938 kB / 0.5369 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000998/0.2096, allocations: 430.1 kB / 0.5373 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.2098, allocations: 124.7 kB / 0.5375 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.2099, allocations: 11.95 kB / 0.5375 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.2102, allocations: 23.92 kB / 0.5375 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.2103, allocations: 23.97 kB / 0.5375 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.2104, allocations: 4 kB / 0.5375 GB, free: 3.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003659/0.2107, allocations: 239.2 kB / 0.5377 GB, free: 3.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.2107, allocations: 3.938 kB / 0.5377 GB, free: 3.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004685/0.2112, allocations: 71.75 kB / 0.5378 GB, free: 2.953 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.2114, allocations: 99.25 kB / 0.5379 GB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006781/0.2121, allocations: 203.7 kB / 0.5381 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.508e-06/0.2121, allocations: 0 / 0.5381 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.2124, allocations: 99.89 kB / 0.5382 GB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.213, allocations: 69.77 kB / 0.5383 GB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2149, allocations: 0.8373 MB / 0.5391 GB, free: 1.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.2154, allocations: 0.8031 MB / 0.5399 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000259/0.2157, allocations: 38.95 kB / 0.5399 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.2158, allocations: 23.44 kB / 0.5399 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of SimCode: time 1.758e-06/0.2158, allocations: 0 / 0.5399 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of Templates: time 0.009719/0.2256, allocations: 2.85 MB / 0.5427 GB, free: 13.9 MB / 394.7 MB