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.001618/0.001618, allocations: 106.3 kB / 16.4 MB, free: 6.496 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.001775/0.001775, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.379/1.379, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.008/1.008, allocations: 173.5 MB / 470.7 MB, free: 13.61 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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 76.31 kB / 0.6479 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.216, allocations: 89.52 MB / 0.7353 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003387/0.2194, allocations: 2.07 MB / 0.7373 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2204, allocations: 0.565 MB / 0.7379 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2206, allocations: 7.938 kB / 0.7379 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2207, allocations: 23.67 kB / 0.7379 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.2208, allocations: 31.66 kB / 0.738 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.2211, allocations: 83.89 kB / 0.738 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.2215, allocations: 279.3 kB / 0.7383 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.2218, allocations: 115.1 kB / 0.7384 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.222, allocations: 111.6 kB / 0.7385 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2221, allocations: 123.4 kB / 0.7386 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.2222, allocations: 28 kB / 0.7387 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.2222, allocations: 24 kB / 0.7387 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.2223, allocations: 55.83 kB / 0.7387 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2224, allocations: 111.4 kB / 0.7388 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.2228, allocations: 274.9 kB / 0.7391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2228, allocations: 8 kB / 0.7391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.238e-06/0.2228, allocations: 0 / 0.7391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2228, allocations: 3.938 kB / 0.7391 GB, free: 14.26 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.001316/0.2242, allocations: 0.6407 MB / 0.7397 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2242, allocations: 12.03 kB / 0.7398 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.2243, allocations: 55.17 kB / 0.7398 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.2244, allocations: 32.75 kB / 0.7398 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.2248, allocations: 252.6 kB / 0.7401 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.2249, allocations: 24.36 kB / 0.7401 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.2249, allocations: 24 kB / 0.7401 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.2256, allocations: 270.6 kB / 0.7404 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2256, allocations: 4 kB / 0.7404 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.2256, allocations: 7.984 kB / 0.7404 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2256, allocations: 4 kB / 0.7404 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.2263, allocations: 197.6 kB / 0.7406 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2275, allocations: 0.635 MB / 0.7412 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.2283, allocations: 226.4 kB / 0.7414 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.2287, allocations: 84.78 kB / 0.7415 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.2287, allocations: 7.938 kB / 0.7415 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005171/0.2292, allocations: 183.2 kB / 0.7417 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 2.043e-06/0.2293, allocations: 0 / 0.7417 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001107/0.2304, allocations: 331.1 kB / 0.742 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.2305, allocations: 118.8 kB / 0.7421 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2307, allocations: 204.3 kB / 0.7423 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.2307, allocations: 33.7 kB / 0.7423 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2309, allocations: 156.4 kB / 0.7425 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.2309, allocations: 55.66 kB / 0.7425 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.231, allocations: 61.66 kB / 0.7426 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2312, allocations: 334.8 kB / 0.7429 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.2316, allocations: 108.2 kB / 0.743 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.232, allocations: 175.9 kB / 0.7432 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.2327, allocations: 312.8 kB / 0.7435 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2328, allocations: 4 kB / 0.7435 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009513/0.2337, allocations: 427.9 kB / 0.7439 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.2338, allocations: 93.09 kB / 0.744 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2338, allocations: 4 kB / 0.744 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2338, allocations: 0 / 0.744 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.2341, allocations: 44.12 kB / 0.744 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.2341, allocations: 7.922 kB / 0.744 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.2344, allocations: 59.78 kB / 0.7441 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2345, allocations: 12 kB / 0.7441 GB, free: 8.77 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.000159/0.2346, allocations: 152 kB / 0.7443 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.2347, allocations: 23.8 kB / 0.7443 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.2354, allocations: 255.3 kB / 0.7445 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2354, allocations: 0 / 0.7445 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.2355, allocations: 4 kB / 0.7445 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2355, allocations: 4 kB / 0.7445 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2365, allocations: 0.5749 MB / 0.7451 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2365, allocations: 4 kB / 0.7451 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.2367, allocations: 27.95 kB / 0.7451 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.2367, allocations: 8 kB / 0.7451 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.2367, allocations: 4 kB / 0.7451 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2367, allocations: 0 / 0.7451 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2367, allocations: 3.984 kB / 0.7451 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.2375, allocations: 347.1 kB / 0.7455 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.2376, allocations: 100.9 kB / 0.7456 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.2377, allocations: 8 kB / 0.7456 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.238, allocations: 43.94 kB / 0.7456 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.2381, allocations: 47.94 kB / 0.7457 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2381, allocations: 4 kB / 0.7457 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001255/0.2383, allocations: 148 kB / 0.7458 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2383, allocations: 4 kB / 0.7458 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002975/0.2386, allocations: 55.89 kB / 0.7459 GB, free: 6.863 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.001536/0.2401, allocations: 0.9994 MB / 0.7468 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008927/0.241, allocations: 422 kB / 0.7472 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.241, allocations: 0 / 0.7472 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.2414, allocations: 115.8 kB / 0.7474 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2418, allocations: 36.55 kB / 0.7474 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.2461, allocations: 2.586 MB / 0.7499 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.2465, allocations: 0.7398 MB / 0.7506 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.684e-05/0.2466, allocations: 21.53 kB / 0.7507 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.2467, allocations: 67.41 kB / 0.7507 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.2467, allocations: 0 / 0.7507 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3439/0.5906, allocations: 5.211 MB / 0.7558 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/8.192, allocations: 4.188 kB / 0.7558 GB, free: 17.61 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.784423803910613] Failed to read output from testmodel.py, exit status != 0: 8.262006741948426 8.279644181 8.053038026 Calling exit ...