Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.0007838/0.0007838, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001886, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006829/0.0006829, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000827/0.00151, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.014/1.014, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.123, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7713/0.7713, allocations: 154.6 MB / 398.5 MB, free: 0.5625 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2821/1.053, allocations: 49.04 MB / 447.6 MB, free: 6.703 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 448.8 MB, free: 5.457 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.365e-05, allocations: 6.359 kB / 448.8 MB, free: 5.453 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002118/0.002132, allocations: 2.123 MB / 451 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000646/0.002778, allocations: 0.5983 MB / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.002848, allocations: 4.906 kB / 451.6 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.942e-05/0.002908, allocations: 24.5 kB / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.002984, allocations: 49.61 kB / 451.6 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.003117, allocations: 67.78 kB / 451.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.003276, allocations: 200.5 kB / 451.9 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.00339, allocations: 48.45 kB / 452 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.003573, allocations: 131.7 kB / 452.1 MB, free: 2.273 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.003667, allocations: 59.86 kB / 452.1 MB, free: 2.215 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.003691, allocations: 16.75 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.00375, allocations: 16 kB / 452.2 MB, free: 2.184 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.003772, allocations: 29.84 kB / 452.2 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.003811, allocations: 47.88 kB / 452.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.003964, allocations: 111.5 kB / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.003978, allocations: 0 / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003979, allocations: 0 / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.003994, allocations: 4 kB / 452.4 MB, free: 1.996 MB / 426.7 MB 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.0005051/0.004499, allocations: 420.4 kB / 452.8 MB, free: 1.566 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.004527, allocations: 12.03 kB / 452.8 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.004661, allocations: 110 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.004803, allocations: 141.4 kB / 453 MB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.004857, allocations: 65.66 kB / 453.1 MB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.004876, allocations: 12.38 kB / 453.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.00503, allocations: 122.4 kB / 453.2 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.005039, allocations: 1.219 kB / 453.2 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.005051, allocations: 8 kB / 453.2 MB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005056, allocations: 4 kB / 453.2 MB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.005128, allocations: 37.14 kB / 453.3 MB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.005503, allocations: 301.5 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.005661, allocations: 76 kB / 453.6 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.00569, allocations: 22.03 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.005705, allocations: 4 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.005724, allocations: 36.56 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.005725, allocations: 0 / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001434/0.005869, allocations: 85.59 kB / 453.8 MB, free: 468 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.005894, allocations: 51.41 kB / 453.8 MB, free: 404 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.005966, allocations: 160 kB / 454 MB, free: 232 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.005981, allocations: 25.7 kB / 454 MB, free: 200 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.006027, allocations: 129 kB / 454.1 MB, free: 68 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.006054, allocations: 35.69 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.0061, allocations: 38.59 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.006175, allocations: 326.8 kB / 454.5 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.006198, allocations: 12.61 kB / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.006235, allocations: 37.09 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.613e-05/0.006301, allocations: 63.7 kB / 454.6 MB, free: 15.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006303, allocations: 0 / 454.6 MB, free: 15.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000111/0.006414, allocations: 96.34 kB / 454.7 MB, free: 15.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.006428, allocations: 7.938 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006433, allocations: 0.625 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.006444, allocations: 4 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.006596, allocations: 37.17 kB / 454.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.006602, allocations: 3.984 kB / 454.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.006651, allocations: 25.67 kB / 454.8 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.006659, allocations: 3.984 kB / 454.8 MB, free: 15.36 MB / 442.7 MB 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 6.711e-05/0.006726, allocations: 117.8 kB / 454.9 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.006747, allocations: 12.69 kB / 454.9 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.00678, allocations: 21.45 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006783, allocations: 2.422 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006785, allocations: 0 / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006787, allocations: 0 / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.006908, allocations: 118.3 kB / 455.1 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006909, allocations: 0 / 455.1 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.007005, allocations: 32.66 kB / 455.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.007019, allocations: 12.58 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.007023, allocations: 9.156 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.007031, allocations: 0 / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007032, allocations: 0 / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007033, allocations: 0 / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.007215, allocations: 199.5 kB / 455.3 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.007233, allocations: 11.94 kB / 455.3 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.007289, allocations: 9.141 kB / 455.4 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.007333, allocations: 19.97 kB / 455.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.007339, allocations: 0 / 455.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.904e-05/0.007368, allocations: 35.92 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007368, allocations: 4 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.007508, allocations: 36.78 kB / 455.5 MB, free: 14.7 MB / 442.7 MB 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 7.983e-05/0.007587, allocations: 77.56 kB / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.007695, allocations: 60.77 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.007702, allocations: 4.844 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.007744, allocations: 36.78 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.007914, allocations: 37.98 kB / 455.7 MB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.009696, allocations: 354 kB / 456 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.009735, allocations: 71.33 kB / 456.1 MB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.342e-05/0.009778, allocations: 8.656 kB / 456.1 MB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.009852, allocations: 79.34 kB / 456.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009853, allocations: 0 / 456.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of Templates: time 0.003209/0.01306, allocations: 1.725 MB / 457.9 MB, free: 12.33 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5635010162368417]