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.001273/0.001273, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001323/0.001323, allocations: 195.6 kB / 16.14 MB, free: 6.688 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9149/0.9149, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.56 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 80.94 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2466/0.3842, allocations: 29.15 MB / 0.6123 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006659/0.3909, allocations: 6.901 MB / 0.619 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004893/0.3914, allocations: 45.16 kB / 0.6191 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009675/0.3924, allocations: 0.5971 MB / 0.6197 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.3943, allocations: 1.348 MB / 0.621 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.396, allocations: 1.042 MB / 0.622 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.3978, allocations: 3.229 MB / 0.6251 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.3985, allocations: 0.7232 MB / 0.6258 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009775/0.3995, allocations: 0.938 MB / 0.6268 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.4001, allocations: 0.8244 MB / 0.6276 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.4002, allocations: 43.53 kB / 0.6276 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.4012, allocations: 0.7664 MB / 0.6284 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4014, allocations: 252.4 kB / 0.6286 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.4017, allocations: 0.5402 MB / 0.6291 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.4029, allocations: 1.566 MB / 0.6307 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4029, allocations: 0 / 0.6307 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4029, allocations: 3.938 kB / 0.6307 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.403, allocations: 2.938 kB / 0.6307 GB, free: 30.14 MB / 0.4981 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.001937/0.4049, allocations: 1.566 MB / 0.6322 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.4049, allocations: 11.28 kB / 0.6322 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.203e-05/0.405, allocations: 114.9 kB / 0.6323 GB, free: 29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.4083, allocations: 0.5893 MB / 0.6329 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.4092, allocations: 0.8063 MB / 0.6337 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.4092, allocations: 61 kB / 0.6337 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.4093, allocations: 75.06 kB / 0.6338 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.4113, allocations: 1.1 MB / 0.6349 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4113, allocations: 6.969 kB / 0.6349 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.4114, allocations: 29.22 kB / 0.6349 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.4114, allocations: 20.25 kB / 0.6349 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.4141, allocations: 0.9953 MB / 0.6359 GB, free: 27.52 MB / 0.4981 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.00384/0.4179, allocations: 4.941 MB / 0.6407 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.4205, allocations: 0.9017 MB / 0.6416 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.4217, allocations: 489.4 kB / 0.6421 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/0.4226, allocations: 1.591 MB / 0.6436 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.424, allocations: 0.5747 MB / 0.6442 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.084e-06/0.424, allocations: 4 kB / 0.6442 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004084/0.4281, allocations: 1.478 MB / 0.6456 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.4282, allocations: 57.47 kB / 0.6457 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.4292, allocations: 1.118 MB / 0.6468 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.4293, allocations: 46.64 kB / 0.6468 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.4296, allocations: 0.5465 MB / 0.6474 GB, free: 19.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.4297, allocations: 206.1 kB / 0.6476 GB, free: 19.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.43, allocations: 162.6 kB / 0.6477 GB, free: 19.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.43, allocations: 334.5 kB / 0.648 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4314, allocations: 452.9 kB / 0.6485 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.4328, allocations: 0.7189 MB / 0.6492 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/0.4355, allocations: 1.114 MB / 0.6503 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.4355, allocations: 6.25 kB / 0.6503 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003277/0.4388, allocations: 1.275 MB / 0.6515 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4388, allocations: 9.672 kB / 0.6515 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4388, allocations: 8.625 kB / 0.6515 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4389, allocations: 10.81 kB / 0.6515 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4401, allocations: 275.9 kB / 0.6518 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/0.4401, allocations: 17.16 kB / 0.6518 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.4414, allocations: 195.2 kB / 0.652 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.4415, allocations: 48.45 kB / 0.652 GB, free: 17.68 MB / 0.4981 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.0004328/0.4419, allocations: 291.8 kB / 0.6523 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.4421, allocations: 123.5 kB / 0.6524 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.446, allocations: 1.357 MB / 0.6538 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.4461, allocations: 9.375 kB / 0.6538 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4461, allocations: 1.094 kB / 0.6538 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4461, allocations: 4.219 kB / 0.6538 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.4509, allocations: 2.383 MB / 0.6561 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4509, allocations: 1.031 kB / 0.6561 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.4518, allocations: 187.8 kB / 0.6563 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4519, allocations: 4.75 kB / 0.6563 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.4519, allocations: 28.38 kB / 0.6563 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.4519, allocations: 5.438 kB / 0.6563 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.4519, allocations: 6.844 kB / 0.6563 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.4566, allocations: 1.967 MB / 0.6583 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.4569, allocations: 278.2 kB / 0.6585 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.4571, allocations: 24.16 kB / 0.6585 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.458, allocations: 118.6 kB / 0.6587 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4581, allocations: 56.44 kB / 0.6587 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.4582, allocations: 33.94 kB / 0.6587 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008119/0.459, allocations: 0.768 MB / 0.6595 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.32e-07/0.459, allocations: 0 / 0.6595 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009003/0.4599, allocations: 350.2 kB / 0.6598 GB, free: 14.57 MB / 0.4981 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.006065/0.466, allocations: 3.072 MB / 0.6628 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002957/0.469, allocations: 1.112 MB / 0.6639 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.469, allocations: 1.156 kB / 0.6639 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.4705, allocations: 0.5761 MB / 0.6645 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.4723, allocations: 429 kB / 0.6649 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.4896, allocations: 10.53 MB / 0.6752 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.4902, allocations: 1.102 MB / 0.6762 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001109/0.4913, allocations: 248.3 kB / 0.6765 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.4919, allocations: 465 kB / 0.6769 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.4919, allocations: 0 / 0.6769 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5668/1.059, allocations: 29.34 MB / 0.7056 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.059, allocations: 247.8 kB / 0.7058 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.563, allocations: 3 kB / 0.7058 GB, free: 15.5 MB / 0.5294 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)