Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 109.5 kB / 19.73 MB, free: 2.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 220 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8599/0.8599, allocations: 134 MB / 447.2 MB, free: 10.29 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003239/0.003239, allocations: 69.77 kB / 0.6193 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1999, allocations: 85.91 MB / 0.7032 GB, free: 1.402 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03462/0.2345, allocations: 30.02 MB / 0.7325 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01166/0.2462, allocations: 7.007 MB / 0.7394 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.2478, allocations: 67.38 kB / 0.7395 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.25, allocations: 0.7108 MB / 0.7401 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.2548, allocations: 1.59 MB / 0.7417 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.2581, allocations: 1.108 MB / 0.7428 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004254/0.2624, allocations: 2.539 MB / 0.7453 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.264, allocations: 0.6661 MB / 0.7459 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.2667, allocations: 1.07 MB / 0.747 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.2685, allocations: 0.8792 MB / 0.7478 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.2688, allocations: 68 kB / 0.7479 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.2712, allocations: 0.8772 MB / 0.7487 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/0.2717, allocations: 294.7 kB / 0.749 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.2727, allocations: 0.5554 MB / 0.7496 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.2766, allocations: 1.661 MB / 0.7512 GB, free: 140 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2766, allocations: 3.938 kB / 0.7512 GB, free: 136 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2766, allocations: 0 / 0.7512 GB, free: 136 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.349e-05/0.2766, allocations: 0 / 0.7512 GB, free: 136 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.3727/0.6493, allocations: 1.553 MB / 0.7527 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.6494, allocations: 9.625 kB / 0.7527 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.588e-05/0.6494, allocations: 19.22 kB / 0.7527 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.6495, allocations: 118.5 kB / 0.7528 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/0.6534, allocations: 0.5975 MB / 0.7534 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.6554, allocations: 0.8054 MB / 0.7542 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/0.6555, allocations: 59.5 kB / 0.7543 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.6556, allocations: 71.8 kB / 0.7543 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.6583, allocations: 1.097 MB / 0.7554 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.6584, allocations: 6.469 kB / 0.7554 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.6584, allocations: 34.52 kB / 0.7555 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.6585, allocations: 17.97 kB / 0.7555 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.6618, allocations: 1.004 MB / 0.7564 GB, free: 11.92 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00678/0.6686, allocations: 4.908 MB / 0.7612 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.672, allocations: 0.8714 MB / 0.7621 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.6737, allocations: 466 kB / 0.7625 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000791/0.6745, allocations: 180.9 kB / 0.7627 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/0.6764, allocations: 0.5698 MB / 0.7633 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.386e-06/0.6764, allocations: 0 / 0.7633 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005485/0.6819, allocations: 1.491 MB / 0.7647 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.6819, allocations: 59.12 kB / 0.7648 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.6838, allocations: 1.145 MB / 0.7659 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.684, allocations: 38.88 kB / 0.7659 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.6844, allocations: 0.5688 MB / 0.7665 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.6846, allocations: 210.6 kB / 0.7667 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000331/0.685, allocations: 175.1 kB / 0.7669 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.685, allocations: 334.1 kB / 0.7672 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.6866, allocations: 452.7 kB / 0.7676 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.6883, allocations: 0.7105 MB / 0.7683 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/0.6915, allocations: 1.118 MB / 0.7694 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.6915, allocations: 10.97 kB / 0.7694 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004094/0.6956, allocations: 1.277 MB / 0.7707 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.6956, allocations: 10.77 kB / 0.7707 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.6957, allocations: 7.906 kB / 0.7707 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/0.6957, allocations: 13.42 kB / 0.7707 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.697, allocations: 267.9 kB / 0.7709 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.323e-05/0.697, allocations: 21.31 kB / 0.771 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.6985, allocations: 181.4 kB / 0.7711 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.6986, allocations: 47.84 kB / 0.7712 GB, free: 6.781 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0006167/0.6993, allocations: 296.3 kB / 0.7715 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.6996, allocations: 132 kB / 0.7716 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.7039, allocations: 1.404 MB / 0.773 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.7039, allocations: 14.12 kB / 0.773 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.7039, allocations: 0 / 0.773 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.704, allocations: 7.172 kB / 0.773 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/0.7099, allocations: 2.398 MB / 0.7753 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.71, allocations: 6.344 kB / 0.7753 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.711, allocations: 191.5 kB / 0.7755 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.7111, allocations: 4.438 kB / 0.7755 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.7112, allocations: 30.8 kB / 0.7755 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.7112, allocations: 7.344 kB / 0.7755 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.7112, allocations: 2.156 kB / 0.7755 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/0.7168, allocations: 2.023 MB / 0.7775 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007634/0.7175, allocations: 210.7 kB / 0.7777 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.7179, allocations: 17.62 kB / 0.7777 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.719, allocations: 113.3 kB / 0.7779 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.7192, allocations: 53.27 kB / 0.7779 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.741e-05/0.7192, allocations: 37.73 kB / 0.7779 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001219/0.7205, allocations: 0.7844 MB / 0.7787 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7205, allocations: 3.469 kB / 0.7787 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001565/0.722, allocations: 352.7 kB / 0.779 GB, free: 5.516 MB / 0.5606 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 (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007777/0.7298, allocations: 3.114 MB / 0.7821 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00361/0.7334, allocations: 1.092 MB / 0.7832 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.7334, allocations: 4.188 kB / 0.7832 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.7352, allocations: 0.5565 MB / 0.7837 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.7378, allocations: 456.4 kB / 0.7841 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/0.7581, allocations: 9.747 MB / 0.7937 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/0.759, allocations: 1.114 MB / 0.7947 GB, free: 14.49 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001076/0.76, allocations: 253.7 kB / 0.795 GB, free: 14.36 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007616/0.7608, allocations: 475.9 kB / 0.7954 GB, free: 13.97 MB / 0.5763 GB Notification: Performance of SimCode: time 1.133e-06/0.7608, allocations: 0 / 0.7954 GB, free: 13.97 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07468/0.8355, allocations: 31.83 MB / 0.8265 GB, free: 44 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.78, allocations: 8 kB / 0.8265 GB, free: 36 kB / 0.5919 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.62257542205043] Failed to read output from testmodel.py, exit status != 0: 15.013982403092086 15.029476899 14.749182927 Calling exit ...