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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006825/0.006825, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 55.91 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6077, allocations: 80.91 MB / 0.6646 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.005017/0.6127, allocations: 2.031 MB / 0.6666 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.614, allocations: 0.5388 MB / 0.6671 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.6143, allocations: 2.562 kB / 0.6671 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.6145, allocations: 20.8 kB / 0.6671 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.6148, allocations: 41.14 kB / 0.6672 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.6151, allocations: 59.09 kB / 0.6672 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.6155, allocations: 190.2 kB / 0.6674 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.6158, allocations: 71.47 kB / 0.6675 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.616, allocations: 69.75 kB / 0.6676 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.6162, allocations: 87.14 kB / 0.6676 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.6163, allocations: 13.62 kB / 0.6676 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.6164, allocations: 14.59 kB / 0.6677 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.6164, allocations: 33.06 kB / 0.6677 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.6166, allocations: 83.16 kB / 0.6678 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.6169, allocations: 173.4 kB / 0.6679 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6169, allocations: 4 kB / 0.6679 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6169, allocations: 0 / 0.6679 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.6169, allocations: 0 / 0.6679 GB, free: 4.961 MB / 0.4981 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.0009717/0.6179, allocations: 491.1 kB / 0.6684 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.6179, allocations: 9.625 kB / 0.6684 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.6181, allocations: 22.12 kB / 0.6684 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.6183, allocations: 213.2 kB / 0.6686 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.6184, allocations: 36.61 kB / 0.6687 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.6185, allocations: 17.31 kB / 0.6687 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.6189, allocations: 163.4 kB / 0.6689 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.619, allocations: 1.438 kB / 0.6689 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.619, allocations: 5.5 kB / 0.6689 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.619, allocations: 6.656 kB / 0.6689 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.6195, allocations: 139.2 kB / 0.669 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.6203, allocations: 0.5274 MB / 0.6695 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.6208, allocations: 132.3 kB / 0.6696 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.621, allocations: 93.11 kB / 0.6697 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.621, allocations: 1.406 kB / 0.6697 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.6211, allocations: 34.5 kB / 0.6698 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.6211, allocations: 1.625 kB / 0.6698 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006872/0.6218, allocations: 220 kB / 0.67 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.6218, allocations: 53.75 kB / 0.67 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.6219, allocations: 155.1 kB / 0.6702 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.622, allocations: 29.7 kB / 0.6702 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.622, allocations: 128 kB / 0.6703 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.6221, allocations: 36.73 kB / 0.6704 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.6221, allocations: 31.89 kB / 0.6704 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.6222, allocations: 329.5 kB / 0.6707 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.6224, allocations: 60.67 kB / 0.6708 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.6226, allocations: 89.92 kB / 0.6708 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.623, allocations: 141 kB / 0.671 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.623, allocations: 3.938 kB / 0.671 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004739/0.6235, allocations: 192.8 kB / 0.6712 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6235, allocations: 6.656 kB / 0.6712 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.6235, allocations: 0 / 0.6712 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.6235, allocations: 1.156 kB / 0.6712 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.6237, allocations: 40.5 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.6238, allocations: 1.188 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.6239, allocations: 28.25 kB / 0.6712 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.6239, allocations: 3.938 kB / 0.6712 GB, free: 2.215 MB / 0.4981 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 0.0001033/0.624, allocations: 131.9 kB / 0.6714 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.6241, allocations: 14.16 kB / 0.6714 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.6241, allocations: 19.64 kB / 0.6714 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6241, allocations: 1.094 kB / 0.6714 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.6242, allocations: 0 / 0.6714 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6242, allocations: 0.9062 kB / 0.6714 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.6244, allocations: 247.2 kB / 0.6716 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6244, allocations: 5.656 kB / 0.6716 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.6246, allocations: 31.22 kB / 0.6717 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6246, allocations: 1.156 kB / 0.6717 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6247, allocations: 1.125 kB / 0.6717 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6247, allocations: 1.156 kB / 0.6717 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6247, allocations: 0 / 0.6717 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.6253, allocations: 351.4 kB / 0.672 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.6254, allocations: 88.23 kB / 0.6721 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.6254, allocations: 1.531 kB / 0.6721 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.6256, allocations: 22.41 kB / 0.6721 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.6256, allocations: 13.67 kB / 0.6721 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.6257, allocations: 10.69 kB / 0.6721 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.6257, allocations: 114.5 kB / 0.6723 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6257, allocations: 0 / 0.6723 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002741/0.626, allocations: 37.25 kB / 0.6723 GB, free: 1.312 MB / 0.4981 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.665e-05/0.6261, allocations: 94.56 kB / 0.6724 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.6266, allocations: 155.2 kB / 0.6725 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6266, allocations: 0 / 0.6725 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.6268, allocations: 75.59 kB / 0.6726 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.6272, allocations: 23.8 kB / 0.6726 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.628, allocations: 392.9 kB / 0.673 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.6282, allocations: 0.7134 MB / 0.6737 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.924e-05/0.6282, allocations: 13.08 kB / 0.6737 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.6283, allocations: 18.53 kB / 0.6737 GB, free: 92 kB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.6283, allocations: 0 / 0.6737 GB, free: 92 kB / 0.4981 GB Notification: Performance of Templates: time 0.005304/0.6336, allocations: 1.591 MB / 0.6753 GB, free: 15.3 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (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)