Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001704/0.001711, allocations: 111.6 kB / 17.08 MB, free: 6.012 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.00164/0.00164, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.52/1.52, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.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.263/1.263, allocations: 173.4 MB / 471.3 MB, free: 6.617 MB / 366.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 70.16 kB / 0.649 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2057, allocations: 89.52 MB / 0.7365 GB, free: 3.684 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05863/0.2644, allocations: 54.56 MB / 0.7897 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.2821, allocations: 10.32 MB / 0.7998 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.285, allocations: 71.56 kB / 0.7999 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.2881, allocations: 0.893 MB / 0.8008 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006883/0.2951, allocations: 1.92 MB / 0.8026 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006299/0.3014, allocations: 2.082 MB / 0.8047 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006755/0.3082, allocations: 3.753 MB / 0.8083 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/0.3107, allocations: 1.157 MB / 0.8095 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.3154, allocations: 1.871 MB / 0.8113 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.3179, allocations: 1.186 MB / 0.8125 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.3182, allocations: 108 kB / 0.8126 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.3216, allocations: 1.283 MB / 0.8138 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.3221, allocations: 386.4 kB / 0.8142 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.3236, allocations: 0.8546 MB / 0.815 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005824/0.3294, allocations: 2.463 MB / 0.8174 GB, free: 496 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.3295, allocations: 3.984 kB / 0.8174 GB, free: 492 kB / 0.6231 GB Notification: Performance of FrontEnd: time 3.677e-06/0.3295, allocations: 4 kB / 0.8174 GB, free: 488 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.657e-05/0.3295, allocations: 0 / 0.8174 GB, free: 488 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004922/0.3345, allocations: 2.182 MB / 0.8196 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.3346, allocations: 12.03 kB / 0.8196 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.3384, allocations: 0.6621 MB / 0.8202 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.3412, allocations: 1.196 MB / 0.8214 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.3413, allocations: 94.06 kB / 0.8215 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.3415, allocations: 108 kB / 0.8216 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.3448, allocations: 1.5 MB / 0.823 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.3449, allocations: 3.938 kB / 0.823 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.345, allocations: 44 kB / 0.8231 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.345, allocations: 32 kB / 0.8231 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.3487, allocations: 1.225 MB / 0.8243 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009744/0.3584, allocations: 8.382 MB / 0.8325 GB, free: 148 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.3619, allocations: 1.094 MB / 0.8336 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.3636, allocations: 0.5531 MB / 0.8341 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002519/0.3661, allocations: 2.902 MB / 0.8369 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/0.3681, allocations: 0.6683 MB / 0.8376 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 4.478e-06/0.3681, allocations: 0 / 0.8376 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.005596/0.3737, allocations: 1.799 MB / 0.8393 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.3738, allocations: 68.34 kB / 0.8394 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.3759, allocations: 1.489 MB / 0.8409 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/0.376, allocations: 41.7 kB / 0.8409 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/0.3768, allocations: 0.7959 MB / 0.8417 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.3771, allocations: 309.4 kB / 0.842 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.3775, allocations: 234.8 kB / 0.8422 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3776, allocations: 341.9 kB / 0.8425 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.3793, allocations: 0.5217 MB / 0.843 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.3814, allocations: 0.8915 MB / 0.8439 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.385, allocations: 1.418 MB / 0.8453 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.385, allocations: 0 / 0.8453 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004572/0.3896, allocations: 1.62 MB / 0.8469 GB, free: 380 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.3896, allocations: 8 kB / 0.8469 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.3896, allocations: 12 kB / 0.8469 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.045e-05/0.3897, allocations: 16.75 kB / 0.8469 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.3911, allocations: 351.4 kB / 0.8472 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.3911, allocations: 23.88 kB / 0.8473 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.3928, allocations: 227 kB / 0.8475 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.3929, allocations: 71.89 kB / 0.8476 GB, free: 15.68 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0006716/0.3936, allocations: 339.7 kB / 0.8479 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.394, allocations: 174.9 kB / 0.848 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/0.3991, allocations: 2.1 MB / 0.8501 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/0.3991, allocations: 19.92 kB / 0.8501 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3992, allocations: 0 / 0.8501 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.3992, allocations: 3.984 kB / 0.8501 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006699/0.4059, allocations: 3.29 MB / 0.8533 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.4059, allocations: 192 / 0.8533 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.4071, allocations: 227.7 kB / 0.8536 GB, free: 9.434 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.4071, allocations: 4 kB / 0.8536 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/0.4072, allocations: 43.95 kB / 0.8536 GB, free: 9.387 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.4072, allocations: 7.938 kB / 0.8536 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4072, allocations: 0 / 0.8536 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00671/0.4139, allocations: 2.701 MB / 0.8562 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008928/0.4149, allocations: 399.5 kB / 0.8566 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.4151, allocations: 23.98 kB / 0.8566 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.4162, allocations: 127.8 kB / 0.8568 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.4164, allocations: 76.89 kB / 0.8568 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.4165, allocations: 55.91 kB / 0.8569 GB, free: 5.949 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001503/0.418, allocations: 1.007 MB / 0.8579 GB, free: 4.949 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.418, allocations: 0 / 0.8579 GB, free: 4.949 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001583/0.4196, allocations: 0.5535 MB / 0.8584 GB, free: 4.395 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.002364/0.422, allocations: 0.8477 MB / 0.8592 GB, free: 3.719 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.426, allocations: 1.459 MB / 0.8607 GB, free: 2.266 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4261, allocations: 0 / 0.8607 GB, free: 2.266 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.4281, allocations: 0.7948 MB / 0.8614 GB, free: 1.477 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/0.4314, allocations: 0.7341 MB / 0.8622 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4243/0.8557, allocations: 3.19 MB / 0.8653 GB, free: 121 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.8568, allocations: 1.302 MB / 0.8665 GB, free: 120.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/0.8577, allocations: 178.9 kB / 0.8667 GB, free: 120.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.743e-06/0.8577, allocations: 0 / 0.8667 GB, free: 120.3 MB / 0.67 GB Notification: Performance of Templates: time 0.06256/0.9203, allocations: 28.9 MB / 0.8949 GB, free: 109.4 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.142324971035123] Failed to read output from testmodel.py, exit status != 0: 0.9272284850012511 0.93519731 0.6039521919999999 Calling exit ...