Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007556/0.0007556, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8811/0.8811, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6825/0.6825, allocations: 154.6 MB / 414.5 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.6192 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.913e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002348/0.002378, allocations: 1.992 MB / 0.6212 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.003166, allocations: 0.5647 MB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.003261, allocations: 7.938 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003378, allocations: 23.78 kB / 0.6218 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.003453, allocations: 47.52 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.003713, allocations: 75.72 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.003888, allocations: 191.2 kB / 0.6221 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.004033, allocations: 46.52 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.004225, allocations: 111.8 kB / 0.6222 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.861e-05/0.004313, allocations: 55.81 kB / 0.6223 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.004336, allocations: 16 kB / 0.6223 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.004387, allocations: 23.98 kB / 0.6223 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.004411, allocations: 27.91 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.004458, allocations: 55.84 kB / 0.6224 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.004671, allocations: 183.4 kB / 0.6225 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004674, allocations: 4 kB / 0.6226 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004675, allocations: 0 / 0.6226 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.00468, allocations: 4 kB / 0.6226 GB, free: 9.875 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00058/0.00526, allocations: 425.4 kB / 0.623 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005298, allocations: 9.469 kB / 0.623 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.005421, allocations: 32.78 kB / 0.623 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.005639, allocations: 157.5 kB / 0.6232 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.006026, allocations: 67.95 kB / 0.6232 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.006052, allocations: 12.38 kB / 0.6232 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.00635, allocations: 158.1 kB / 0.6234 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.006364, allocations: 192 / 0.6234 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.00638, allocations: 8.125 kB / 0.6234 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.006387, allocations: 4 kB / 0.6234 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.006666, allocations: 147.8 kB / 0.6235 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.007199, allocations: 388 kB / 0.6239 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.007503, allocations: 126.7 kB / 0.624 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.007626, allocations: 76.8 kB / 0.6241 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.007645, allocations: 3.938 kB / 0.6241 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.007662, allocations: 34.5 kB / 0.6241 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.007663, allocations: 0 / 0.6241 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004174/0.008081, allocations: 226.7 kB / 0.6244 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.008113, allocations: 55.41 kB / 0.6244 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.008209, allocations: 157.6 kB / 0.6246 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.008224, allocations: 29.7 kB / 0.6246 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.008287, allocations: 132.2 kB / 0.6247 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.008315, allocations: 47.62 kB / 0.6248 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.008357, allocations: 33.72 kB / 0.6248 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.008435, allocations: 322.8 kB / 0.6251 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.00855, allocations: 59.94 kB / 0.6252 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.00867, allocations: 90.45 kB / 0.6252 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.008878, allocations: 138 kB / 0.6254 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008881, allocations: 0 / 0.6254 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002592/0.00914, allocations: 185.5 kB / 0.6255 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.009156, allocations: 12 kB / 0.6256 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.009162, allocations: 0 / 0.6256 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.009177, allocations: 4 kB / 0.6256 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.009291, allocations: 43.89 kB / 0.6256 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.009301, allocations: 0 / 0.6256 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.009371, allocations: 31.88 kB / 0.6256 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.009379, allocations: 4 kB / 0.6256 GB, free: 6.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/0.009468, allocations: 130.8 kB / 0.6258 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.009487, allocations: 11.91 kB / 0.6258 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.009524, allocations: 29.34 kB / 0.6258 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009527, allocations: 0 / 0.6258 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.009531, allocations: 0 / 0.6258 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009535, allocations: 4 kB / 0.6258 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.00968, allocations: 161.2 kB / 0.626 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.009681, allocations: 0 / 0.626 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.009775, allocations: 35.91 kB / 0.626 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009777, allocations: 0 / 0.626 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.009788, allocations: 8 kB / 0.626 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.00979, allocations: 7.938 kB / 0.626 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.009792, allocations: 0 / 0.626 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.0102, allocations: 334.4 kB / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.01022, allocations: 15.92 kB / 0.6263 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.01024, allocations: 8.062 kB / 0.6263 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.01031, allocations: 19.92 kB / 0.6264 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.01036, allocations: 15.97 kB / 0.6264 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.01037, allocations: 4 kB / 0.6264 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.01043, allocations: 120.8 kB / 0.6265 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01043, allocations: 3.938 kB / 0.6265 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001757/0.0106, allocations: 39.89 kB / 0.6265 GB, free: 5.531 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.757e-05/0.0107, allocations: 103.8 kB / 0.6266 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.01097, allocations: 139.8 kB / 0.6268 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01097, allocations: 0 / 0.6268 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.01109, allocations: 75.88 kB / 0.6268 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01132, allocations: 24.7 kB / 0.6269 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.01189, allocations: 375.8 kB / 0.6272 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.01196, allocations: 103.6 kB / 0.6273 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.01201, allocations: 24.48 kB / 0.6274 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.01201, allocations: 0 / 0.6274 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of Templates: time 0.002835/0.01484, allocations: 1.904 MB / 0.6292 GB, free: 2.75 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0028184885159135] Failed to read output from testmodel.py, exit status != 0: 0.020581730641424656 0.029043822 0.022629423000000003 Calling exit ...