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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.349/2.349, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.29/1.29, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005071, allocations: 12 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6955, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04619/0.7417, allocations: 24.58 MB / 0.607 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.7574, allocations: 5.939 MB / 0.6128 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.7598, allocations: 42.66 kB / 0.6128 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.7626, allocations: 0.6469 MB / 0.6134 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.7688, allocations: 1.206 MB / 0.6146 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.7747, allocations: 1.303 MB / 0.6159 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005141/0.7799, allocations: 1.568 MB / 0.6174 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.7817, allocations: 0.6751 MB / 0.6181 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.7845, allocations: 0.8293 MB / 0.6189 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.786, allocations: 0.5699 MB / 0.6195 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.7861, allocations: 36.5 kB / 0.6195 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.7892, allocations: 0.5292 MB / 0.62 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.7897, allocations: 235.3 kB / 0.6202 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.7902, allocations: 230.8 kB / 0.6204 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.7925, allocations: 1.008 MB / 0.6214 GB, free: 8.066 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.7925, allocations: 0 / 0.6214 GB, free: 8.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7925, allocations: 0 / 0.6214 GB, free: 8.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.7925, allocations: 7.938 kB / 0.6214 GB, free: 8.059 MB / 462.1 MB 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.00441/0.797, allocations: 1.381 MB / 0.6228 GB, free: 6.973 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/0.7971, allocations: 8.5 kB / 0.6228 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/0.7973, allocations: 114.1 kB / 0.6229 GB, free: 6.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.8025, allocations: 0.6319 MB / 0.6235 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.8052, allocations: 0.7584 MB / 0.6243 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.931e-05/0.8053, allocations: 56.09 kB / 0.6243 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.8055, allocations: 76.64 kB / 0.6244 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.8091, allocations: 1.107 MB / 0.6255 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.8092, allocations: 7.984 kB / 0.6255 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.8093, allocations: 32 kB / 0.6255 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.8094, allocations: 16 kB / 0.6255 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/0.8137, allocations: 1.024 MB / 0.6265 GB, free: 3.715 MB / 462.1 MB 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.009297/0.823, allocations: 4.971 MB / 0.6314 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.8273, allocations: 0.9498 MB / 0.6323 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002714/0.83, allocations: 1.592 MB / 0.6339 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/0.8323, allocations: 0.5807 MB / 0.6344 GB, free: 10.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 5.189e-06/0.8324, allocations: 0 / 0.6344 GB, free: 10.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.006909/0.8393, allocations: 1.52 MB / 0.6359 GB, free: 9.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.8394, allocations: 59.97 kB / 0.636 GB, free: 9.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.8417, allocations: 1.112 MB / 0.6371 GB, free: 8.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.8419, allocations: 37.7 kB / 0.6371 GB, free: 8.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.8426, allocations: 0.5435 MB / 0.6376 GB, free: 7.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.843, allocations: 213 kB / 0.6378 GB, free: 7.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.843, allocations: 16 kB / 0.6378 GB, free: 7.422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.8433, allocations: 338 kB / 0.6382 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.8453, allocations: 461.6 kB / 0.6386 GB, free: 6.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.8477, allocations: 0.7164 MB / 0.6393 GB, free: 5.809 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.8498, allocations: 0.49 MB / 0.6398 GB, free: 5.316 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.8499, allocations: 4 kB / 0.6398 GB, free: 5.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005303/0.8552, allocations: 1.282 MB / 0.641 GB, free: 4.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.8553, allocations: 11.98 kB / 0.641 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.8553, allocations: 8 kB / 0.6411 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-05/0.8553, allocations: 16 kB / 0.6411 GB, free: 3.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.8571, allocations: 284.1 kB / 0.6413 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.097e-05/0.8572, allocations: 15.94 kB / 0.6414 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.8593, allocations: 202.9 kB / 0.6416 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.8595, allocations: 47.97 kB / 0.6416 GB, free: 3.449 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008223/0.8603, allocations: 291.8 kB / 0.6419 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.8607, allocations: 118.5 kB / 0.642 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/0.8662, allocations: 1.387 MB / 0.6433 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/0.8663, allocations: 15.98 kB / 0.6434 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.8663, allocations: 3.953 kB / 0.6434 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.8663, allocations: 3.984 kB / 0.6434 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/0.874, allocations: 2.386 MB / 0.6457 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.8741, allocations: 8.031 kB / 0.6457 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.8755, allocations: 187.7 kB / 0.6459 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-05/0.8756, allocations: 11.98 kB / 0.6459 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-05/0.8757, allocations: 19.98 kB / 0.6459 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/0.8757, allocations: 7.984 kB / 0.6459 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8757, allocations: 0 / 0.6459 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/0.8833, allocations: 2.089 MB / 0.648 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/0.8843, allocations: 283.3 kB / 0.6482 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.8846, allocations: 16 kB / 0.6482 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.886, allocations: 135.8 kB / 0.6484 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.8861, allocations: 52.44 kB / 0.6484 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.8863, allocations: 35.91 kB / 0.6485 GB, free: 12.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.888, allocations: 0.756 MB / 0.6492 GB, free: 11.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.066e-06/0.888, allocations: 0 / 0.6492 GB, free: 11.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002167/0.8902, allocations: 347.5 kB / 0.6495 GB, free: 11.16 MB / 494.1 MB 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/0.902, allocations: 3.57 MB / 0.653 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005513/0.9076, allocations: 1.122 MB / 0.6541 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.9076, allocations: 0 / 0.6541 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.9104, allocations: 0.5892 MB / 0.6547 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/0.9142, allocations: 420.6 kB / 0.6551 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/0.9433, allocations: 12.52 MB / 0.6673 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.9448, allocations: 1.133 MB / 0.6684 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002157/0.9469, allocations: 252.1 kB / 0.6687 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.948, allocations: 455.2 kB / 0.6691 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of SimCode: time 2.495e-06/0.9481, allocations: 0 / 0.6691 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.049, allocations: 29.06 MB / 0.6975 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003966/1.049, allocations: 224.1 kB / 0.6977 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.254/5.303, allocations: 4.062 kB / 0.6977 GB, free: 9.934 MB / 0.5294 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) Environment - environmentSimulation: