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) 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-master/package.mo", uses=false) 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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_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.006494/0.006494, allocations: 102.5 kB / 15.73 MB, free: 6.449 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.001489/0.001489, allocations: 198.1 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9497/0.9497, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.89 kB / 0.5852 GB, free: 3.777 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4338, allocations: 80.91 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02665/0.4605, allocations: 29.33 MB / 0.6928 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.4709, allocations: 6.886 MB / 0.6996 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.4724, allocations: 46.62 kB / 0.6996 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.4742, allocations: 0.6905 MB / 0.7003 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.4787, allocations: 1.453 MB / 0.7017 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.4819, allocations: 1.154 MB / 0.7028 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.4859, allocations: 2.473 MB / 0.7052 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.4876, allocations: 0.7963 MB / 0.706 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.4902, allocations: 1.031 MB / 0.707 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.4922, allocations: 0.8207 MB / 0.7078 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.4926, allocations: 67.38 kB / 0.7079 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.495, allocations: 0.8223 MB / 0.7087 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.4955, allocations: 267 kB / 0.7089 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.4967, allocations: 0.5553 MB / 0.7095 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.5001, allocations: 1.635 MB / 0.7111 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5001, allocations: 0 / 0.7111 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.019e-06/0.5001, allocations: 0 / 0.7111 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.259e-05/0.5002, allocations: 3.938 kB / 0.7111 GB, free: 1.406 MB / 0.5294 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.003326/0.5035, allocations: 1.578 MB / 0.7126 GB, free: 15.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5036, allocations: 8.031 kB / 0.7126 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.5038, allocations: 114.7 kB / 0.7127 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.5073, allocations: 0.5923 MB / 0.7133 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.509, allocations: 0.8674 MB / 0.7142 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.509, allocations: 54 kB / 0.7142 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.5092, allocations: 76 kB / 0.7143 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.5116, allocations: 1.099 MB / 0.7154 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5116, allocations: 0 / 0.7154 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/0.5117, allocations: 39.92 kB / 0.7154 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.5117, allocations: 20 kB / 0.7154 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.5146, allocations: 1 MB / 0.7164 GB, free: 11.76 MB / 0.545 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.005785/0.5204, allocations: 4.95 MB / 0.7212 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.5232, allocations: 0.9044 MB / 0.7221 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.5245, allocations: 486.4 kB / 0.7226 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.5258, allocations: 1.587 MB / 0.7241 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.5274, allocations: 0.569 MB / 0.7247 GB, free: 2.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 6.432e-06/0.5274, allocations: 0 / 0.7247 GB, free: 2.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.004443/0.5319, allocations: 1.489 MB / 0.7261 GB, free: 1.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.5319, allocations: 59.97 kB / 0.7262 GB, free: 1.051 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.5333, allocations: 1.112 MB / 0.7273 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.5334, allocations: 49.69 kB / 0.7273 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.5339, allocations: 0.5434 MB / 0.7279 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.5341, allocations: 209.1 kB / 0.7281 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.5343, allocations: 162.4 kB / 0.7282 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5344, allocations: 341.9 kB / 0.7285 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.5358, allocations: 453.6 kB / 0.729 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5373, allocations: 0.7166 MB / 0.7297 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.5401, allocations: 1.12 MB / 0.7308 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.5401, allocations: 4 kB / 0.7308 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00337/0.5434, allocations: 1.262 MB / 0.732 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5435, allocations: 12 kB / 0.732 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5435, allocations: 4 kB / 0.732 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.5435, allocations: 12.72 kB / 0.732 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.5447, allocations: 271.6 kB / 0.7323 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.5448, allocations: 15.94 kB / 0.7323 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.546, allocations: 187 kB / 0.7325 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5461, allocations: 43.97 kB / 0.7325 GB, free: 10.3 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.0004979/0.5466, allocations: 295.7 kB / 0.7328 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.5469, allocations: 122.5 kB / 0.7329 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.5504, allocations: 1.355 MB / 0.7343 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.5505, allocations: 12 kB / 0.7343 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.5505, allocations: 0 / 0.7343 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.5505, allocations: 3.984 kB / 0.7343 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.5555, allocations: 2.362 MB / 0.7366 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.5555, allocations: 0 / 0.7366 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009943/0.5566, allocations: 195.8 kB / 0.7368 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.5566, allocations: 4 kB / 0.7368 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.5567, allocations: 31.91 kB / 0.7368 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.5567, allocations: 7.938 kB / 0.7368 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5567, allocations: 4 kB / 0.7368 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.5617, allocations: 1.973 MB / 0.7387 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/0.5623, allocations: 275.3 kB / 0.739 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.5626, allocations: 27.92 kB / 0.739 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.5637, allocations: 103.9 kB / 0.7391 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.5638, allocations: 48.5 kB / 0.7392 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.5639, allocations: 32.06 kB / 0.7392 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001198/0.5651, allocations: 0.7677 MB / 0.7399 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5651, allocations: 0 / 0.7399 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001398/0.5665, allocations: 343.6 kB / 0.7403 GB, free: 2.219 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 (70): * Single equations (assignments): 55 * 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.006758/0.5733, allocations: 3.09 MB / 0.7433 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003211/0.5765, allocations: 1.114 MB / 0.7444 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5766, allocations: 0 / 0.7444 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.5781, allocations: 0.5697 MB / 0.7449 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.5801, allocations: 454.3 kB / 0.7454 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/0.6001, allocations: 9.574 MB / 0.7547 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.601, allocations: 1.108 MB / 0.7558 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009707/0.6019, allocations: 244.6 kB / 0.756 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/0.6026, allocations: 459.2 kB / 0.7565 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.6026, allocations: 0 / 0.7565 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/0.6648, allocations: 31.12 MB / 0.7869 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.06, allocations: 7.844 kB / 0.7869 GB, free: 2.57 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)