Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 106.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.093/1.093, allocations: 175.8 MB / 478.4 MB, free: 8.473 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 64.8 kB / 0.6652 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2077, allocations: 94.54 MB / 0.7575 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.3698/0.5775, allocations: 2.037 MB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.5784, allocations: 0.5246 MB / 0.76 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.5785, allocations: 4.891 kB / 0.76 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.5786, allocations: 26.05 kB / 0.76 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.5787, allocations: 41.84 kB / 0.7601 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.5789, allocations: 57.83 kB / 0.7601 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.5792, allocations: 185.4 kB / 0.7603 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.5794, allocations: 61 kB / 0.7604 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.5795, allocations: 68.03 kB / 0.7604 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.5796, allocations: 81.73 kB / 0.7605 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.5796, allocations: 15.59 kB / 0.7605 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.5797, allocations: 14.53 kB / 0.7605 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.5797, allocations: 37.38 kB / 0.7606 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.5798, allocations: 84.41 kB / 0.7606 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.58, allocations: 165.3 kB / 0.7608 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.58, allocations: 1.562 kB / 0.7608 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.58, allocations: 0 / 0.7608 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.58, allocations: 2.656 kB / 0.7608 GB, free: 7.887 MB / 0.5762 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.0007396/0.5808, allocations: 0.4918 MB / 0.7613 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5808, allocations: 10.22 kB / 0.7613 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.5809, allocations: 53.48 kB / 0.7613 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.5809, allocations: 18.22 kB / 0.7614 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.5811, allocations: 209.8 kB / 0.7616 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.5811, allocations: 37.95 kB / 0.7616 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.5812, allocations: 20.5 kB / 0.7616 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.5816, allocations: 154 kB / 0.7618 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5816, allocations: 1.984 kB / 0.7618 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.5816, allocations: 6.062 kB / 0.7618 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.5816, allocations: 3.812 kB / 0.7618 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.5821, allocations: 142.8 kB / 0.7619 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.5828, allocations: 0.5435 MB / 0.7624 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.5832, allocations: 122.5 kB / 0.7626 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.5834, allocations: 77.92 kB / 0.7626 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.5834, allocations: 0.9375 kB / 0.7626 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.5835, allocations: 36.53 kB / 0.7627 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.5835, allocations: 0.75 kB / 0.7627 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0006853/0.5841, allocations: 224.9 kB / 0.7629 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.5842, allocations: 53.09 kB / 0.7629 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.5843, allocations: 161.3 kB / 0.7631 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5843, allocations: 28.09 kB / 0.7631 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.5843, allocations: 127 kB / 0.7632 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.5844, allocations: 47.52 kB / 0.7633 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.5844, allocations: 27.66 kB / 0.7633 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.5845, allocations: 328.8 kB / 0.7636 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5847, allocations: 60.41 kB / 0.7637 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.5849, allocations: 83.34 kB / 0.7638 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.5852, allocations: 145.8 kB / 0.7639 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5852, allocations: 1.125 kB / 0.7639 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004302/0.5856, allocations: 188.2 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5857, allocations: 5.844 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5857, allocations: 1.781 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5857, allocations: 1.094 kB / 0.7641 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.5859, allocations: 43.45 kB / 0.7641 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5859, allocations: 1.344 kB / 0.7641 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.586, allocations: 26.47 kB / 0.7642 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.586, allocations: 7.344 kB / 0.7642 GB, free: 5.879 MB / 0.5762 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 7.294e-05/0.5861, allocations: 131.7 kB / 0.7643 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.5861, allocations: 17.5 kB / 0.7643 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.5862, allocations: 19.53 kB / 0.7643 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5862, allocations: 1.344 kB / 0.7643 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5862, allocations: 0.5156 kB / 0.7643 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5862, allocations: 1.625 kB / 0.7643 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.5864, allocations: 242.4 kB / 0.7646 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5864, allocations: 0 / 0.7646 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.5866, allocations: 41.06 kB / 0.7646 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5866, allocations: 1.031 kB / 0.7646 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5866, allocations: 3.312 kB / 0.7646 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5866, allocations: 1.891 kB / 0.7646 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5866, allocations: 3.938 kB / 0.7646 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.5872, allocations: 343.2 kB / 0.7649 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.5873, allocations: 93.47 kB / 0.765 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.5873, allocations: 4.531 kB / 0.765 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.5874, allocations: 18 kB / 0.765 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.5875, allocations: 14.31 kB / 0.7651 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.5875, allocations: 7.078 kB / 0.7651 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.5876, allocations: 119.2 kB / 0.7652 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5876, allocations: 0 / 0.7652 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002719/0.5878, allocations: 40.02 kB / 0.7652 GB, free: 5.191 MB / 0.5762 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 0.0007843/0.5886, allocations: 0.865 MB / 0.7661 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.5891, allocations: 146.5 kB / 0.7662 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5891, allocations: 0 / 0.7662 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.5892, allocations: 70.66 kB / 0.7663 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.5896, allocations: 17.11 kB / 0.7663 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.5921, allocations: 1.991 MB / 0.7682 GB, free: 19.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.5925, allocations: 0.7155 MB / 0.7689 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.592e-05/0.5925, allocations: 16.38 kB / 0.7689 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.5926, allocations: 45.91 kB / 0.769 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5926, allocations: 0 / 0.769 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.6194, allocations: 3.321 MB / 0.7722 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/9.008, allocations: 16.75 kB / 0.7722 GB, free: 17.98 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.90605913568288] Failed to read output from testmodel.py, exit status != 0: 9.077094744890928 9.100408164 8.514742509 Calling exit ...