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.001278/0.001278, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002384/0.002384, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.785 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.8629/0.8629, allocations: 134 MB / 446.4 MB, free: 9.918 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",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.003456/0.003456, allocations: 66.75 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1859, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03179/0.2177, allocations: 27.12 MB / 0.7289 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.2293, allocations: 6.531 MB / 0.7353 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.2307, allocations: 63.44 kB / 0.7353 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.233, allocations: 0.6953 MB / 0.736 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0065/0.2395, allocations: 1.574 MB / 0.7376 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.243, allocations: 1.079 MB / 0.7386 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004236/0.2473, allocations: 2.524 MB / 0.7411 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.2487, allocations: 0.6466 MB / 0.7417 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.2512, allocations: 1.082 MB / 0.7428 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.2528, allocations: 0.8363 MB / 0.7436 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.253, allocations: 64 kB / 0.7436 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.255, allocations: 0.6782 MB / 0.7443 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.2554, allocations: 294.8 kB / 0.7446 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.2561, allocations: 453.4 kB / 0.745 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.2594, allocations: 1.638 MB / 0.7466 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2594, allocations: 7.938 kB / 0.7466 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2594, allocations: 0 / 0.7466 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.456e-05/0.2594, allocations: 4 kB / 0.7466 GB, free: 3.617 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.003006/0.2624, allocations: 1.552 MB / 0.7481 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2625, allocations: 8.031 kB / 0.7481 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.2626, allocations: 118.7 kB / 0.7483 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003637/0.2662, allocations: 0.6009 MB / 0.7488 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.268, allocations: 0.783 MB / 0.7496 GB, free: 472 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.268, allocations: 54 kB / 0.7497 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.2682, allocations: 72 kB / 0.7497 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3436/0.6117, allocations: 1.108 MB / 0.7508 GB, free: 48.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.6118, allocations: 3.656 kB / 0.7508 GB, free: 48.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.6118, allocations: 28.27 kB / 0.7508 GB, free: 48.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.6119, allocations: 19.45 kB / 0.7509 GB, free: 48.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.6153, allocations: 1.013 MB / 0.7519 GB, free: 48.35 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.006322/0.6216, allocations: 4.264 MB / 0.756 GB, free: 45.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.6249, allocations: 0.8872 MB / 0.7569 GB, free: 45.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.6265, allocations: 474.5 kB / 0.7573 GB, free: 45.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/0.6272, allocations: 168.5 kB / 0.7575 GB, free: 45.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.629, allocations: 0.5858 MB / 0.7581 GB, free: 45.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 4.148e-06/0.629, allocations: 1.812 kB / 0.7581 GB, free: 45.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.00512/0.6342, allocations: 1.51 MB / 0.7595 GB, free: 44.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.6342, allocations: 59.44 kB / 0.7596 GB, free: 44.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.6361, allocations: 1.184 MB / 0.7608 GB, free: 44.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.6363, allocations: 40.52 kB / 0.7608 GB, free: 44.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.6367, allocations: 0.5622 MB / 0.7613 GB, free: 43.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.6369, allocations: 217.3 kB / 0.7615 GB, free: 43.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.6372, allocations: 169.7 kB / 0.7617 GB, free: 43.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.6373, allocations: 339.9 kB / 0.762 GB, free: 43.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.6389, allocations: 455.5 kB / 0.7625 GB, free: 43.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.641, allocations: 0.9462 MB / 0.7634 GB, free: 42.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.6443, allocations: 1.14 MB / 0.7645 GB, free: 41.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.6444, allocations: 2.062 kB / 0.7645 GB, free: 41.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003822/0.6482, allocations: 1.29 MB / 0.7658 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.6482, allocations: 8.406 kB / 0.7658 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.6482, allocations: 7.953 kB / 0.7658 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.6483, allocations: 12.38 kB / 0.7658 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.6495, allocations: 272 kB / 0.7661 GB, free: 41.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.6496, allocations: 18.06 kB / 0.7661 GB, free: 41.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6509, allocations: 183.5 kB / 0.7662 GB, free: 41.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.651, allocations: 43.39 kB / 0.7663 GB, free: 41.37 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.0004896/0.6515, allocations: 298.1 kB / 0.7666 GB, free: 41.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.6517, allocations: 138.6 kB / 0.7667 GB, free: 41.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.6557, allocations: 1.433 MB / 0.7681 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.6557, allocations: 9.531 kB / 0.7681 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6557, allocations: 2.016 kB / 0.7681 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.6557, allocations: 3.609 kB / 0.7681 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00577/0.6615, allocations: 2.333 MB / 0.7704 GB, free: 39.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.6615, allocations: 2.625 kB / 0.7704 GB, free: 39.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.6626, allocations: 197.4 kB / 0.7706 GB, free: 39.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.6626, allocations: 5.766 kB / 0.7706 GB, free: 39.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.6627, allocations: 30.36 kB / 0.7706 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.6627, allocations: 5.172 kB / 0.7706 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6627, allocations: 6.281 kB / 0.7706 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.6681, allocations: 2.077 MB / 0.7727 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/0.6687, allocations: 220.5 kB / 0.7729 GB, free: 38.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.6689, allocations: 13.78 kB / 0.7729 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009207/0.6698, allocations: 113.9 kB / 0.773 GB, free: 38.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.6699, allocations: 59.42 kB / 0.7731 GB, free: 38.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.67, allocations: 33.12 kB / 0.7731 GB, free: 38.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001015/0.671, allocations: 0.8053 MB / 0.7739 GB, free: 38.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.671, allocations: 1.062 kB / 0.7739 GB, free: 38.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001262/0.6723, allocations: 351.5 kB / 0.7742 GB, free: 38.39 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.007161/0.6794, allocations: 3.196 MB / 0.7773 GB, free: 36.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.6829, allocations: 1.119 MB / 0.7784 GB, free: 36.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6829, allocations: 3.938 kB / 0.7784 GB, free: 36.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.6845, allocations: 0.5711 MB / 0.779 GB, free: 36.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.6866, allocations: 462.1 kB / 0.7794 GB, free: 35.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.7045, allocations: 9.787 MB / 0.789 GB, free: 28.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.7049, allocations: 0.5296 MB / 0.7895 GB, free: 27.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009516/0.7058, allocations: 240.7 kB / 0.7897 GB, free: 27.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.7064, allocations: 471.2 kB / 0.7902 GB, free: 26.88 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/0.7064, allocations: 0 / 0.7902 GB, free: 26.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06467/0.771, allocations: 33.68 MB / 0.8231 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.12, allocations: 0 / 0.8231 GB, free: 9.602 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.8617133628577] Failed to read output from testmodel.py, exit status != 0: 13.309676240198314 13.338019566 13.073443453 Calling exit ...