Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.0008073/0.0008071, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005641/0.005641, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.301/1.301, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7002/0.7002, allocations: 132.3 MB / 423.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002955, allocations: 16.28 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3444, allocations: 81.57 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1759/0.5204, allocations: 189 MB / 0.7683 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007207/0.5276, allocations: 5.137 MB / 0.7733 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/0.5283, allocations: 39.69 kB / 0.7734 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.5297, allocations: 0.7155 MB / 0.7741 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/0.534, allocations: 2.444 MB / 0.7765 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.536, allocations: 1.007 MB / 0.7774 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.54, allocations: 3.607 MB / 0.781 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.5413, allocations: 0.8474 MB / 0.7818 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.543, allocations: 1.011 MB / 0.7828 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.544, allocations: 0.9962 MB / 0.7837 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.509e-05/0.5441, allocations: 48 kB / 0.7838 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.5472, allocations: 2.069 MB / 0.7858 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.5476, allocations: 410.6 kB / 0.7862 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.5481, allocations: 0.6464 MB / 0.7868 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.5504, allocations: 2.246 MB / 0.789 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5505, allocations: 7.938 kB / 0.789 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5505, allocations: 0 / 0.789 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5505, allocations: 0 / 0.789 GB, free: 13.36 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004141/0.5546, allocations: 1.7 MB / 0.7907 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5547, allocations: 8.031 kB / 0.7907 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.5548, allocations: 143.6 kB / 0.7908 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005159/0.56, allocations: 0.9268 MB / 0.7917 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.5612, allocations: 0.9059 MB / 0.7926 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.5613, allocations: 69.98 kB / 0.7927 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.5614, allocations: 99.92 kB / 0.7928 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.5647, allocations: 1.571 MB / 0.7943 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.5647, allocations: 7.938 kB / 0.7943 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.5649, allocations: 35.98 kB / 0.7944 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.5649, allocations: 49.98 kB / 0.7944 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004822/0.5697, allocations: 1.842 MB / 0.7962 GB, free: 5.836 MB / 0.6231 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.00633/0.5761, allocations: 4.75 MB / 0.8009 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.5802, allocations: 1.595 MB / 0.8024 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.5824, allocations: 0.8508 MB / 0.8032 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.5835, allocations: 0.9608 MB / 0.8042 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.5858, allocations: 0.9071 MB / 0.8051 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.5858, allocations: 0 / 0.8051 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.007137/0.5929, allocations: 2.447 MB / 0.8075 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.593, allocations: 64.41 kB / 0.8075 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.5942, allocations: 1.197 MB / 0.8087 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.5943, allocations: 49.7 kB / 0.8087 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.5947, allocations: 0.537 MB / 0.8093 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.5949, allocations: 327.3 kB / 0.8096 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5951, allocations: 81.67 kB / 0.8096 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5952, allocations: 349.9 kB / 0.81 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.5972, allocations: 0.6928 MB / 0.8107 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.5994, allocations: 0.9074 MB / 0.8115 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/0.6035, allocations: 1.55 MB / 0.8131 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6035, allocations: 0 / 0.8131 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004589/0.6081, allocations: 1.768 MB / 0.8148 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6081, allocations: 8.438 kB / 0.8148 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6081, allocations: 11.98 kB / 0.8148 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6082, allocations: 8 kB / 0.8148 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.6098, allocations: 343.5 kB / 0.8151 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.6099, allocations: 8 kB / 0.8151 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.6114, allocations: 254.7 kB / 0.8154 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/0.6115, allocations: 51.91 kB / 0.8154 GB, free: 1.531 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005193/0.6121, allocations: 345.3 kB / 0.8158 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6122, allocations: 134.3 kB / 0.8159 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.223/0.8352, allocations: 1.79 MB / 0.8176 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.8353, allocations: 10.58 kB / 0.8177 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8353, allocations: 3.938 kB / 0.8177 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.8353, allocations: 4.875 kB / 0.8177 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007122/0.8424, allocations: 3.321 MB / 0.8209 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.8425, allocations: 4.562 kB / 0.8209 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.8441, allocations: 285.8 kB / 0.8212 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.8441, allocations: 7.344 kB / 0.8212 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/0.8442, allocations: 33.34 kB / 0.8212 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.629e-06/0.8442, allocations: 11.95 kB / 0.8212 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.8442, allocations: 8.438 kB / 0.8212 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007037/0.8513, allocations: 2.846 MB / 0.824 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.8518, allocations: 333.1 kB / 0.8243 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.852, allocations: 30.52 kB / 0.8244 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.8533, allocations: 169.2 kB / 0.8245 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.8535, allocations: 73.06 kB / 0.8246 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-05/0.8536, allocations: 40.39 kB / 0.8246 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009473/0.8546, allocations: 0.8325 MB / 0.8255 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8546, allocations: 0 / 0.8255 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009115/0.8555, allocations: 343.6 kB / 0.8258 GB, free: 217 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.007796/0.8633, allocations: 3.817 MB / 0.8295 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004349/0.8677, allocations: 1.619 MB / 0.8311 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8677, allocations: 1.406 kB / 0.8311 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.8699, allocations: 0.8381 MB / 0.8319 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/0.8731, allocations: 0.5906 MB / 0.8325 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.8939, allocations: 13.33 MB / 0.8455 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.8944, allocations: 1.183 MB / 0.8467 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001457/0.8958, allocations: 366 kB / 0.847 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/0.8965, allocations: 0.5017 MB / 0.8475 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.8965, allocations: 0 / 0.8475 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.849/2.746, allocations: 33.65 MB / 0.8804 GB, free: 172.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/2.746, allocations: 234.3 kB / 0.8806 GB, free: 172 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/5.475, allocations: 1.203 kB / 0.8806 GB, free: 172 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)