Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001225/0.001225, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001328/0.001328, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.373/1.373, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.024/1.024, allocations: 175.8 MB / 481.9 MB, free: 7.688 MB / 382.1 MB " [Timeout remaining time 179] 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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.17 kB / 0.6706 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5051, allocations: 94.52 MB / 0.7629 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003585/0.5087, allocations: 2.111 MB / 0.7649 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.5098, allocations: 0.5689 MB / 0.7655 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.5099, allocations: 8.375 kB / 0.7655 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.5101, allocations: 20.25 kB / 0.7655 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.5102, allocations: 39.39 kB / 0.7655 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.5105, allocations: 89.95 kB / 0.7656 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.5108, allocations: 263.5 kB / 0.7659 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.511, allocations: 89.2 kB / 0.766 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.5112, allocations: 110.6 kB / 0.7661 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.5114, allocations: 123.9 kB / 0.7662 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.5114, allocations: 25.81 kB / 0.7662 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.5115, allocations: 26.12 kB / 0.7662 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.5115, allocations: 60.91 kB / 0.7663 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.5116, allocations: 112.3 kB / 0.7664 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.512, allocations: 287.7 kB / 0.7667 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.512, allocations: 0 / 0.7667 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.512, allocations: 1.719 kB / 0.7667 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.512, allocations: 0 / 0.7667 GB, free: 8.051 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001172/0.5132, allocations: 0.6389 MB / 0.7673 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5133, allocations: 8.938 kB / 0.7673 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.5133, allocations: 28.2 kB / 0.7673 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.5137, allocations: 263.2 kB / 0.7676 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.5137, allocations: 17.62 kB / 0.7676 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.5137, allocations: 26.62 kB / 0.7676 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.5143, allocations: 260.9 kB / 0.7679 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5143, allocations: 1.344 kB / 0.7679 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.5144, allocations: 12.14 kB / 0.7679 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.5144, allocations: 4.062 kB / 0.7679 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.515, allocations: 200.7 kB / 0.7681 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.5161, allocations: 0.6103 MB / 0.7687 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008418/0.5169, allocations: 219.9 kB / 0.7689 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.5172, allocations: 85.7 kB / 0.769 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.5173, allocations: 2.594 kB / 0.769 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.5177, allocations: 199.2 kB / 0.7692 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/0.5178, allocations: 0 / 0.7692 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001118/0.5189, allocations: 333.5 kB / 0.7695 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.5189, allocations: 108.7 kB / 0.7696 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.5191, allocations: 202.1 kB / 0.7698 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.5192, allocations: 38.77 kB / 0.7698 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.5193, allocations: 162.6 kB / 0.77 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.5193, allocations: 41.69 kB / 0.77 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.5194, allocations: 65.8 kB / 0.7701 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.5195, allocations: 339.8 kB / 0.7704 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.5199, allocations: 104.9 kB / 0.7705 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.5203, allocations: 177.3 kB / 0.7707 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.521, allocations: 316.1 kB / 0.771 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.521, allocations: 1.406 kB / 0.771 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009473/0.5219, allocations: 424.3 kB / 0.7714 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.522, allocations: 91.09 kB / 0.7715 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.522, allocations: 1.812 kB / 0.7715 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.522, allocations: 3.531 kB / 0.7715 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.5222, allocations: 48.56 kB / 0.7715 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.5223, allocations: 7.703 kB / 0.7715 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.5226, allocations: 61.39 kB / 0.7716 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.5226, allocations: 10.3 kB / 0.7716 GB, free: 4.852 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.0001391/0.5228, allocations: 146.5 kB / 0.7717 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.5228, allocations: 26.69 kB / 0.7718 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007752/0.5236, allocations: 259.7 kB / 0.772 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5236, allocations: 2.75 kB / 0.772 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5236, allocations: 0.875 kB / 0.772 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5236, allocations: 1.078 kB / 0.772 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009358/0.5245, allocations: 0.5777 MB / 0.7726 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5245, allocations: 2.969 kB / 0.7726 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.5247, allocations: 28.44 kB / 0.7726 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.5247, allocations: 1.125 kB / 0.7726 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5247, allocations: 7.25 kB / 0.7726 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5247, allocations: 1.094 kB / 0.7726 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5247, allocations: 0.8125 kB / 0.7726 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.5254, allocations: 354.6 kB / 0.773 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.5255, allocations: 99.28 kB / 0.7731 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.5255, allocations: 8.094 kB / 0.7731 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.5258, allocations: 41.02 kB / 0.7731 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.526, allocations: 46.06 kB / 0.7731 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.526, allocations: 11.62 kB / 0.7732 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001087/0.5261, allocations: 146.9 kB / 0.7733 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5261, allocations: 0 / 0.7733 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003344/0.5264, allocations: 56.34 kB / 0.7733 GB, free: 3.785 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.000146/0.5266, allocations: 122.4 kB / 0.7735 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.5275, allocations: 400.8 kB / 0.7738 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5275, allocations: 0.8125 kB / 0.7738 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.5279, allocations: 110.8 kB / 0.774 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.5283, allocations: 37.48 kB / 0.774 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.5291, allocations: 375.6 kB / 0.7743 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.5293, allocations: 0.7356 MB / 0.7751 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.432e-05/0.5294, allocations: 21.36 kB / 0.7751 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.5295, allocations: 25.09 kB / 0.7751 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5295, allocations: 0 / 0.7751 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.007465/0.5369, allocations: 3.223 MB / 0.7783 GB, free: 2.242 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.808229543268681] Failed to read output from testmodel.py, exit status != 0: 0.5451991041190922 0.5593313870000001 0.044237788 Calling exit ...