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.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.001609/0.001609, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002131/0.002131, allocations: 188.3 kB / 22.22 MB, free: 5.105 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.617/1.617, allocations: 225.6 MB / 251 MB, free: 13.04 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/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.152/1.152, allocations: 177.9 MB / 484.2 MB, free: 5.402 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: 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 0.00208/0.00208, allocations: 64.2 kB / 0.674 GB, free: 10.88 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7825, allocations: 95.17 MB / 0.7669 GB, free: 8 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003702/0.7862, allocations: 2.054 MB / 0.7689 GB, free: 6.906 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0009861/0.7871, allocations: 0.534 MB / 0.7694 GB, free: 6.527 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.7873, allocations: 2.469 kB / 0.7694 GB, free: 6.527 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.7874, allocations: 28.3 kB / 0.7694 GB, free: 6.508 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.7875, allocations: 42.73 kB / 0.7695 GB, free: 6.477 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.7878, allocations: 56.02 kB / 0.7695 GB, free: 6.445 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002543/0.788, allocations: 188.2 kB / 0.7697 GB, free: 6.352 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.7882, allocations: 59.61 kB / 0.7698 GB, free: 6.316 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.7884, allocations: 72.7 kB / 0.7698 GB, free: 6.285 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.7885, allocations: 90.05 kB / 0.7699 GB, free: 6.234 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.7885, allocations: 14.22 kB / 0.7699 GB, free: 6.234 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.071e-05/0.7886, allocations: 15.41 kB / 0.77 GB, free: 6.234 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.7886, allocations: 37.97 kB / 0.77 GB, free: 6.211 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.7887, allocations: 75.47 kB / 0.7701 GB, free: 6.164 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.00026/0.789, allocations: 175.5 kB / 0.7702 GB, free: 6.094 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.789, allocations: 0 / 0.7702 GB, free: 6.094 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 2.956e-06/0.789, allocations: 1.344 kB / 0.7702 GB, free: 6.094 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.592e-06/0.789, allocations: 0 / 0.7702 GB, free: 6.094 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.0008691/0.7899, allocations: 422 kB / 0.7706 GB, free: 5.754 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.7899, allocations: 9.188 kB / 0.7707 GB, free: 5.754 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.79, allocations: 22.72 kB / 0.7707 GB, free: 5.742 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.7902, allocations: 152.8 kB / 0.7708 GB, free: 5.59 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.7903, allocations: 37.58 kB / 0.7709 GB, free: 5.555 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.7903, allocations: 13.25 kB / 0.7709 GB, free: 5.551 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.7908, allocations: 157.3 kB / 0.771 GB, free: 5.48 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.7908, allocations: 1.062 kB / 0.771 GB, free: 5.48 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.7908, allocations: 5.344 kB / 0.771 GB, free: 5.477 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7908, allocations: 6.906 kB / 0.771 GB, free: 5.473 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.7914, allocations: 153.4 kB / 0.7712 GB, free: 5.434 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.7922, allocations: 0.4915 MB / 0.7717 GB, free: 5.039 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.7927, allocations: 132.7 kB / 0.7718 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.793, allocations: 72.41 kB / 0.7719 GB, free: 4.957 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.793, allocations: 6.109 kB / 0.7719 GB, free: 4.953 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.793, allocations: 36.2 kB / 0.7719 GB, free: 4.91 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.793, allocations: 4 kB / 0.7719 GB, free: 4.906 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=12): time 0.0008327/0.7938, allocations: 217.3 kB / 0.7721 GB, free: 4.832 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.7939, allocations: 53.22 kB / 0.7722 GB, free: 4.77 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.794, allocations: 158.8 kB / 0.7723 GB, free: 4.648 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.7941, allocations: 34.23 kB / 0.7723 GB, free: 4.609 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.7941, allocations: 127.5 kB / 0.7725 GB, free: 4.492 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.7942, allocations: 46.73 kB / 0.7725 GB, free: 4.453 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.7942, allocations: 29.62 kB / 0.7725 GB, free: 4.43 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 7.018e-05/0.7943, allocations: 321.6 kB / 0.7728 GB, free: 4.113 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.7945, allocations: 63.11 kB / 0.7729 GB, free: 4.098 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.7948, allocations: 92.97 kB / 0.773 GB, free: 4.051 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.7952, allocations: 136.8 kB / 0.7731 GB, free: 3.996 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7952, allocations: 3.938 kB / 0.7731 GB, free: 3.992 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005034/0.7957, allocations: 191.2 kB / 0.7733 GB, free: 3.918 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.7957, allocations: 8.5 kB / 0.7733 GB, free: 3.914 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7957, allocations: 0.9062 kB / 0.7733 GB, free: 3.914 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7957, allocations: 6.219 kB / 0.7733 GB, free: 3.91 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.7959, allocations: 41.67 kB / 0.7734 GB, free: 3.906 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.796, allocations: 5.062 kB / 0.7734 GB, free: 3.902 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.7961, allocations: 21.03 kB / 0.7734 GB, free: 3.898 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.7961, allocations: 8.469 kB / 0.7734 GB, free: 3.895 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 9.643e-05/0.7962, allocations: 131.5 kB / 0.7735 GB, free: 3.766 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.7963, allocations: 15.42 kB / 0.7735 GB, free: 3.758 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.7963, allocations: 21.48 kB / 0.7736 GB, free: 3.738 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7963, allocations: 1.875 kB / 0.7736 GB, free: 3.738 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7963, allocations: 3.938 kB / 0.7736 GB, free: 3.734 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7963, allocations: 0.7969 kB / 0.7736 GB, free: 3.734 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.7966, allocations: 216.7 kB / 0.7738 GB, free: 3.543 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7966, allocations: 0 / 0.7738 GB, free: 3.543 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.7968, allocations: 34.98 kB / 0.7738 GB, free: 3.539 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7968, allocations: 1.062 kB / 0.7738 GB, free: 3.539 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.7968, allocations: 1.656 kB / 0.7738 GB, free: 3.539 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.7968, allocations: 11.55 kB / 0.7738 GB, free: 3.531 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7968, allocations: 0.7812 kB / 0.7738 GB, free: 3.531 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.7976, allocations: 343.2 kB / 0.7741 GB, free: 3.332 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.7976, allocations: 12.19 kB / 0.7742 GB, free: 3.324 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.7977, allocations: 2.391 kB / 0.7742 GB, free: 3.324 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.7978, allocations: 19.84 kB / 0.7742 GB, free: 3.32 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.7979, allocations: 11.64 kB / 0.7742 GB, free: 3.32 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7979, allocations: 2.844 kB / 0.7742 GB, free: 3.32 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.879e-05/0.798, allocations: 114.9 kB / 0.7743 GB, free: 3.234 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.798, allocations: 3.938 kB / 0.7743 GB, free: 3.23 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002862/0.7983, allocations: 40.61 kB / 0.7743 GB, free: 3.219 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.0001141/0.7984, allocations: 101.8 kB / 0.7744 GB, free: 3.129 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0005424/0.7989, allocations: 140.5 kB / 0.7746 GB, free: 3.098 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7989, allocations: 0 / 0.7746 GB, free: 3.098 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.7992, allocations: 74.08 kB / 0.7746 GB, free: 3.078 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.7996, allocations: 21.41 kB / 0.7747 GB, free: 3.07 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.8004, allocations: 393.7 kB / 0.775 GB, free: 2.805 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.8006, allocations: 0.7227 MB / 0.7757 GB, free: 2.102 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 6.926e-05/0.8007, allocations: 7.672 kB / 0.7757 GB, free: 2.102 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.8007, allocations: 19.25 kB / 0.7758 GB, free: 2.09 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.81e-07/0.8007, allocations: 0 / 0.7758 GB, free: 2.09 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006089/0.8068, allocations: 1.671 MB / 0.7774 GB, free: 1.945 MB / 0.5762 GB
"
[Timeout remaining time 659]
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: 7.349145057611167]
Failed to read output from testmodel.py, exit status != 0:
0.8163655651733279 0.835456742 0.042520266
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe4625457b0>