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.001457/0.001457, allocations: 119.2 kB / 17.13 MB, free: 5.918 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.001482/0.001482, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.465/1.465, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.202/1.202, allocations: 175.7 MB / 479.1 MB, free: 3.676 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.002299/0.002299, allocations: 73.2 kB / 0.6664 GB, free: 10.81 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2138, allocations: 94.54 MB / 0.7587 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.09389/0.3077, allocations: 54.97 MB / 0.8124 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03224/0.3399, allocations: 10.36 MB / 0.8225 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003632/0.3435, allocations: 67.56 kB / 0.8226 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004661/0.3482, allocations: 0.9086 MB / 0.8235 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.3593, allocations: 2.006 MB / 0.8254 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.3707, allocations: 2.105 MB / 0.8275 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.3812, allocations: 3.777 MB / 0.8312 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.3852, allocations: 1.009 MB / 0.8321 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008371/0.3935, allocations: 1.906 MB / 0.834 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004371/0.3979, allocations: 1.26 MB / 0.8352 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008183/0.3987, allocations: 104 kB / 0.8353 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006633/0.4054, allocations: 1.337 MB / 0.8366 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.4066, allocations: 394.2 kB / 0.837 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.6457/1.052, allocations: 0.8501 MB / 0.8378 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/1.063, allocations: 2.46 MB / 0.8403 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.063, allocations: 1.641 kB / 0.8403 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.005e-06/1.063, allocations: 0 / 0.8403 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001133/1.063, allocations: 0 / 0.8403 GB, free: 10.4 MB / 0.6387 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.008285/1.071, allocations: 2.191 MB / 0.8424 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.071, allocations: 9.125 kB / 0.8424 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/1.076, allocations: 0.6598 MB / 0.843 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/1.08, allocations: 1.191 MB / 0.8442 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/1.08, allocations: 89.97 kB / 0.8443 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/1.081, allocations: 113.2 kB / 0.8444 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00513/1.086, allocations: 1.496 MB / 0.8459 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/1.086, allocations: 9.688 kB / 0.8459 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/1.086, allocations: 47.42 kB / 0.8459 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/1.086, allocations: 31.81 kB / 0.8459 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/1.091, allocations: 1.221 MB / 0.8471 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01414/1.105, allocations: 8.373 MB / 0.8553 GB, free: 18.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/1.109, allocations: 1.047 MB / 0.8563 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/1.111, allocations: 0.5218 MB / 0.8568 GB, free: 18.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/1.113, allocations: 2.9 MB / 0.8597 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002211/1.116, allocations: 0.6755 MB / 0.8603 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 4.078e-06/1.116, allocations: 0 / 0.8603 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.006561/1.122, allocations: 1.802 MB / 0.8621 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/1.122, allocations: 65.42 kB / 0.8622 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/1.125, allocations: 1.487 MB / 0.8636 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.125, allocations: 42.7 kB / 0.8637 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/1.126, allocations: 0.7967 MB / 0.8644 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/1.127, allocations: 313 kB / 0.8647 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/1.127, allocations: 226.3 kB / 0.8649 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002063/1.127, allocations: 350 kB / 0.8653 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/1.129, allocations: 0.5153 MB / 0.8658 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/1.131, allocations: 0.9055 MB / 0.8667 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/1.135, allocations: 1.411 MB / 0.868 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/1.135, allocations: 2.875 kB / 0.868 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00547/1.14, allocations: 1.615 MB / 0.8696 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/1.14, allocations: 12.19 kB / 0.8696 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/1.14, allocations: 11.62 kB / 0.8696 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-05/1.14, allocations: 16.66 kB / 0.8697 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.142, allocations: 348.7 kB / 0.87 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.866e-05/1.142, allocations: 26.3 kB / 0.87 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/1.144, allocations: 231.8 kB / 0.8702 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/1.144, allocations: 69.34 kB / 0.8703 GB, free: 12.55 MB / 0.6544 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.001032/1.145, allocations: 346.1 kB / 0.8706 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/1.146, allocations: 179.7 kB / 0.8708 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00588/1.152, allocations: 2.086 MB / 0.8728 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/1.152, allocations: 21.81 kB / 0.8729 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.152, allocations: 0 / 0.8729 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/1.152, allocations: 10.44 kB / 0.8729 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008243/1.16, allocations: 3.283 MB / 0.8761 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.16, allocations: 3 kB / 0.8761 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.161, allocations: 238 kB / 0.8763 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.245e-05/1.161, allocations: 4.25 kB / 0.8763 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.162, allocations: 36.95 kB / 0.8764 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/1.162, allocations: 5.938 kB / 0.8764 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.162, allocations: 5.312 kB / 0.8764 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007168/1.169, allocations: 2.705 MB / 0.879 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.17, allocations: 389.9 kB / 0.8794 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007104/1.171, allocations: 23.56 kB / 0.8794 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.172, allocations: 122.9 kB / 0.8795 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.173, allocations: 80.19 kB / 0.8796 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.173, allocations: 56.12 kB / 0.8796 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002156/1.175, allocations: 1.002 MB / 0.8806 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.175, allocations: 0 / 0.8806 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002847/1.178, allocations: 0.5503 MB / 0.8812 GB, free: 10.91 MB / 0.6544 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.003024/1.181, allocations: 0.8475 MB / 0.882 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004211/1.185, allocations: 1.405 MB / 0.8834 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.185, allocations: 1.875 kB / 0.8834 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.187, allocations: 0.7515 MB / 0.8841 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/1.191, allocations: 0.732 MB / 0.8848 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/1.199, allocations: 3.207 MB / 0.8879 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.201, allocations: 1.299 MB / 0.8892 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008162/1.201, allocations: 187 kB / 0.8894 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of SimCode: time 1.423e-06/1.201, allocations: 0 / 0.8894 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of Templates: time 0.05088/1.252, allocations: 29.01 MB / 0.9177 GB, free: 4.258 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.609028320061043] Failed to read output from testmodel.py, exit status != 0: 1.2626212481409311 1.277227048 0.21040628900000002 Calling exit ...