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.00187/0.00187, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002876/0.002876, allocations: 190.4 kB / 22.23 MB, free: 5.16 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.584/1.584, allocations: 225.6 MB / 251 MB, free: 13 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.138/1.138, allocations: 177.9 MB / 484.2 MB, free: 5.371 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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating")
translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.02 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7327, allocations: 95.17 MB / 0.7669 GB, free: 7.941 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003869/0.7365, allocations: 2.058 MB / 0.7689 GB, free: 6.848 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001091/0.7376, allocations: 0.5293 MB / 0.7694 GB, free: 6.473 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.7378, allocations: 6.656 kB / 0.7694 GB, free: 6.469 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.7379, allocations: 24.2 kB / 0.7694 GB, free: 6.453 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.738, allocations: 42.39 kB / 0.7695 GB, free: 6.422 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.7383, allocations: 59.75 kB / 0.7695 GB, free: 6.387 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002866/0.7386, allocations: 186.4 kB / 0.7697 GB, free: 6.297 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.7388, allocations: 55.53 kB / 0.7698 GB, free: 6.266 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.739, allocations: 78.42 kB / 0.7699 GB, free: 6.227 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.7391, allocations: 89.25 kB / 0.7699 GB, free: 6.18 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.7392, allocations: 14.41 kB / 0.7699 GB, free: 6.18 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.7392, allocations: 15.16 kB / 0.77 GB, free: 6.18 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.7393, allocations: 33.84 kB / 0.77 GB, free: 6.156 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.7394, allocations: 80.58 kB / 0.7701 GB, free: 6.109 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.7396, allocations: 169.5 kB / 0.7702 GB, free: 6.043 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7396, allocations: 1.406 kB / 0.7702 GB, free: 6.043 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 2.074e-06/0.7396, allocations: 0 / 0.7702 GB, free: 6.043 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.173e-06/0.7396, allocations: 0 / 0.7702 GB, free: 6.043 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.0008694/0.7405, allocations: 421.8 kB / 0.7706 GB, free: 5.703 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7406, allocations: 13.62 kB / 0.7707 GB, free: 5.699 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.7406, allocations: 22.62 kB / 0.7707 GB, free: 5.688 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.7409, allocations: 152.7 kB / 0.7708 GB, free: 5.539 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.741, allocations: 37.86 kB / 0.7709 GB, free: 5.504 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.741, allocations: 17.59 kB / 0.7709 GB, free: 5.496 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.7415, allocations: 155.6 kB / 0.771 GB, free: 5.426 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.7415, allocations: 0 / 0.771 GB, free: 5.426 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.7415, allocations: 5.906 kB / 0.771 GB, free: 5.422 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.7415, allocations: 8.891 kB / 0.771 GB, free: 5.418 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005492/0.7421, allocations: 152.4 kB / 0.7712 GB, free: 5.379 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.743, allocations: 0.4961 MB / 0.7717 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.7435, allocations: 132.5 kB / 0.7718 GB, free: 4.922 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.7437, allocations: 77.14 kB / 0.7719 GB, free: 4.895 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.7437, allocations: 1.562 kB / 0.7719 GB, free: 4.895 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.7438, allocations: 31.53 kB / 0.7719 GB, free: 4.855 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.7438, allocations: 4 kB / 0.7719 GB, free: 4.852 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=12): time 0.0008407/0.7446, allocations: 221.6 kB / 0.7721 GB, free: 4.773 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.7446, allocations: 54.16 kB / 0.7722 GB, free: 4.711 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.7448, allocations: 159.2 kB / 0.7723 GB, free: 4.586 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.7448, allocations: 30.39 kB / 0.7723 GB, free: 4.551 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.7449, allocations: 123.2 kB / 0.7725 GB, free: 4.438 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.7449, allocations: 48.12 kB / 0.7725 GB, free: 4.398 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.745, allocations: 33.41 kB / 0.7725 GB, free: 4.371 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 6.975e-05/0.745, allocations: 323.5 kB / 0.7728 GB, free: 4.055 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.7453, allocations: 61.09 kB / 0.7729 GB, free: 4.039 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.7455, allocations: 89.11 kB / 0.773 GB, free: 4 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.7459, allocations: 143.6 kB / 0.7731 GB, free: 3.938 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7459, allocations: 3.938 kB / 0.7731 GB, free: 3.934 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005313/0.7465, allocations: 182.5 kB / 0.7733 GB, free: 3.863 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7465, allocations: 5.594 kB / 0.7733 GB, free: 3.863 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7465, allocations: 1.25 kB / 0.7733 GB, free: 3.863 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.7465, allocations: 6.5 kB / 0.7733 GB, free: 3.859 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7467, allocations: 43.09 kB / 0.7734 GB, free: 3.852 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.7467, allocations: 2.062 kB / 0.7734 GB, free: 3.852 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.7469, allocations: 23.23 kB / 0.7734 GB, free: 3.848 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.7469, allocations: 8.031 kB / 0.7734 GB, free: 3.844 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.452e-05/0.747, allocations: 128.3 kB / 0.7735 GB, free: 3.715 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.747, allocations: 18.06 kB / 0.7735 GB, free: 3.703 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.7471, allocations: 17.12 kB / 0.7735 GB, free: 3.688 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7471, allocations: 1.5 kB / 0.7735 GB, free: 3.688 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7471, allocations: 5.656 kB / 0.7736 GB, free: 3.684 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7471, allocations: 0.8438 kB / 0.7736 GB, free: 3.684 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.7474, allocations: 211.8 kB / 0.7738 GB, free: 3.496 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7474, allocations: 0 / 0.7738 GB, free: 3.496 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.7476, allocations: 44.83 kB / 0.7738 GB, free: 3.484 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7476, allocations: 1.062 kB / 0.7738 GB, free: 3.484 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.7476, allocations: 4 kB / 0.7738 GB, free: 3.48 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7476, allocations: 1 kB / 0.7738 GB, free: 3.48 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7476, allocations: 0.9688 kB / 0.7738 GB, free: 3.48 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.7484, allocations: 338.1 kB / 0.7741 GB, free: 3.289 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.7484, allocations: 12.34 kB / 0.7741 GB, free: 3.281 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.7484, allocations: 4.969 kB / 0.7741 GB, free: 3.277 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.7486, allocations: 16.64 kB / 0.7742 GB, free: 3.277 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.7487, allocations: 15.83 kB / 0.7742 GB, free: 3.273 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.7487, allocations: 3.219 kB / 0.7742 GB, free: 3.273 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.803e-05/0.7487, allocations: 122.4 kB / 0.7743 GB, free: 3.184 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.7487, allocations: 3.938 kB / 0.7743 GB, free: 3.18 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002913/0.749, allocations: 44.61 kB / 0.7743 GB, free: 3.164 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.0001072/0.7491, allocations: 96.36 kB / 0.7744 GB, free: 3.078 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0005226/0.7497, allocations: 134.6 kB / 0.7746 GB, free: 3.051 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7497, allocations: 128 / 0.7746 GB, free: 3.051 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.7499, allocations: 76 kB / 0.7746 GB, free: 3.031 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.7503, allocations: 29.08 kB / 0.7747 GB, free: 3.016 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.7512, allocations: 394.9 kB / 0.775 GB, free: 2.75 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.7514, allocations: 0.7261 MB / 0.7757 GB, free: 2.043 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 7.288e-05/0.7514, allocations: 8.688 kB / 0.7758 GB, free: 2.043 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.7515, allocations: 14.97 kB / 0.7758 GB, free: 2.035 MB / 0.5762 GB
Notification: Performance of SimCode: time 1.162e-06/0.7515, allocations: 0 / 0.7758 GB, free: 2.035 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006229/0.7577, allocations: 1.671 MB / 0.7774 GB, free: 1.895 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660]
(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 & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.019641492515802]
Failed to read output from testmodel.py, exit status != 0:
0.7666351487860084 0.783447352 0.040177172000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f889175d7b0>