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.001344/0.001344, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001483/0.001483, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8583/0.8583, allocations: 134 MB / 447.2 MB, free: 9.938 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.001986/0.001986, allocations: 67.31 kB / 0.6193 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1954, allocations: 85.91 MB / 0.7032 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03576/0.2311, allocations: 27.09 MB / 0.7296 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.2429, allocations: 6.534 MB / 0.736 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.2444, allocations: 63.38 kB / 0.7361 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.2463, allocations: 0.6953 MB / 0.7367 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004805/0.2511, allocations: 1.579 MB / 0.7383 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.2543, allocations: 1.086 MB / 0.7393 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004155/0.2584, allocations: 2.547 MB / 0.7418 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.26, allocations: 0.6544 MB / 0.7425 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.2627, allocations: 1.074 MB / 0.7435 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.2644, allocations: 0.8753 MB / 0.7444 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.2646, allocations: 68 kB / 0.7444 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.2664, allocations: 0.6821 MB / 0.7451 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.2667, allocations: 294.8 kB / 0.7454 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006866/0.2674, allocations: 465.4 kB / 0.7458 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.2702, allocations: 1.626 MB / 0.7474 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2702, allocations: 0 / 0.7474 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2702, allocations: 7.938 kB / 0.7474 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.2703, allocations: 0 / 0.7474 GB, free: 3.578 MB / 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.003035/0.2733, allocations: 1.556 MB / 0.7489 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2733, allocations: 8.031 kB / 0.749 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.427e-05/0.2734, allocations: 22.19 kB / 0.749 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.2735, allocations: 110.7 kB / 0.7491 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003685/0.2772, allocations: 0.6009 MB / 0.7497 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.2791, allocations: 0.7867 MB / 0.7504 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.2792, allocations: 65.97 kB / 0.7505 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.2794, allocations: 72 kB / 0.7506 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3276/0.607, allocations: 1.101 MB / 0.7516 GB, free: 48.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.607, allocations: 6.562 kB / 0.7516 GB, free: 48.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.6071, allocations: 28.7 kB / 0.7517 GB, free: 48.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.6071, allocations: 20.09 kB / 0.7517 GB, free: 48.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.6103, allocations: 1.012 MB / 0.7527 GB, free: 48.43 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.005311/0.6156, allocations: 4.256 MB / 0.7568 GB, free: 45.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.6187, allocations: 0.8893 MB / 0.7577 GB, free: 45.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.6202, allocations: 478 kB / 0.7582 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.6209, allocations: 168 kB / 0.7583 GB, free: 45.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.6227, allocations: 0.5783 MB / 0.7589 GB, free: 45.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.937e-06/0.6227, allocations: 3.75 kB / 0.7589 GB, free: 45.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005008/0.6277, allocations: 1.509 MB / 0.7604 GB, free: 44.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.6277, allocations: 63.5 kB / 0.7604 GB, free: 44.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.6294, allocations: 1.172 MB / 0.7616 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.6296, allocations: 39.38 kB / 0.7616 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.6299, allocations: 0.5572 MB / 0.7622 GB, free: 43.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.6301, allocations: 225.5 kB / 0.7624 GB, free: 43.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.6304, allocations: 164.9 kB / 0.7625 GB, free: 43.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.6305, allocations: 340.9 kB / 0.7628 GB, free: 43.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.6321, allocations: 456 kB / 0.7633 GB, free: 43.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.6339, allocations: 0.9435 MB / 0.7642 GB, free: 42.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.6371, allocations: 1.139 MB / 0.7653 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.6371, allocations: 2.469 kB / 0.7653 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003778/0.6409, allocations: 1.297 MB / 0.7666 GB, free: 41.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.6409, allocations: 9.062 kB / 0.7666 GB, free: 41.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.6409, allocations: 6.969 kB / 0.7666 GB, free: 41.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/0.6409, allocations: 13.81 kB / 0.7666 GB, free: 41.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.6422, allocations: 272.6 kB / 0.7669 GB, free: 41.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/0.6422, allocations: 17.09 kB / 0.7669 GB, free: 41.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.6436, allocations: 183.1 kB / 0.7671 GB, free: 41.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.6437, allocations: 44.05 kB / 0.7671 GB, free: 41.43 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.0005515/0.6442, allocations: 296.5 kB / 0.7674 GB, free: 41.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.6445, allocations: 133.2 kB / 0.7675 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.6485, allocations: 1.434 MB / 0.7689 GB, free: 40.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.6485, allocations: 10.39 kB / 0.7689 GB, free: 40.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.6486, allocations: 0 / 0.7689 GB, free: 40.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.6486, allocations: 3.75 kB / 0.7689 GB, free: 40.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005325/0.6539, allocations: 2.336 MB / 0.7712 GB, free: 39.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.6539, allocations: 3.422 kB / 0.7712 GB, free: 39.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.655, allocations: 201 kB / 0.7714 GB, free: 39.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.655, allocations: 3.938 kB / 0.7714 GB, free: 39.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.353e-05/0.6551, allocations: 33.17 kB / 0.7714 GB, free: 39.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.6551, allocations: 4.281 kB / 0.7714 GB, free: 39.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6551, allocations: 11.66 kB / 0.7715 GB, free: 39.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.6603, allocations: 2.073 MB / 0.7735 GB, free: 38.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.6608, allocations: 218 kB / 0.7737 GB, free: 38.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.6611, allocations: 14.47 kB / 0.7737 GB, free: 38.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6621, allocations: 114.8 kB / 0.7738 GB, free: 38.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.6622, allocations: 63.42 kB / 0.7739 GB, free: 38.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.6623, allocations: 34.84 kB / 0.7739 GB, free: 38.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001055/0.6634, allocations: 0.804 MB / 0.7747 GB, free: 38.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6634, allocations: 0 / 0.7747 GB, free: 38.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001298/0.6647, allocations: 351.2 kB / 0.775 GB, free: 38.46 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 (76): * Single equations (assignments): 61 * 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.00736/0.672, allocations: 3.196 MB / 0.7781 GB, free: 36.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.6756, allocations: 1.116 MB / 0.7792 GB, free: 36.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6756, allocations: 0.6562 kB / 0.7792 GB, free: 36.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.6772, allocations: 0.5708 MB / 0.7798 GB, free: 36.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.6794, allocations: 460.5 kB / 0.7802 GB, free: 35.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.6974, allocations: 9.788 MB / 0.7898 GB, free: 28.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.6979, allocations: 0.5296 MB / 0.7903 GB, free: 27.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.6989, allocations: 244.7 kB / 0.7905 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/0.6995, allocations: 475.2 kB / 0.791 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of SimCode: time 1.432e-06/0.6995, allocations: 3.938 kB / 0.791 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05939/0.7589, allocations: 33.45 MB / 0.8237 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.47, allocations: 14.03 kB / 0.8237 GB, free: 9.727 MB / 0.5762 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.27357551502064] Failed to read output from testmodel.py, exit status != 0: 14.70559735095594 14.726748861999999 14.452530573 Calling exit ...