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.001004/0.001007, 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.001075/0.001075, allocations: 193.3 kB / 16.14 MB, free: 6.707 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7235/0.7235, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 58.91 kB / 0.5012 GB, free: 9.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 80.2 MB / 0.5795 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4373/0.5875, allocations: 191.5 MB / 0.7665 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009361/0.5969, allocations: 5.192 MB / 0.7716 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.5984, allocations: 43.69 kB / 0.7717 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.6003, allocations: 0.7195 MB / 0.7724 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006282/0.6066, allocations: 2.448 MB / 0.7748 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.6092, allocations: 1.001 MB / 0.7757 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.6131, allocations: 3.617 MB / 0.7793 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.6144, allocations: 0.8689 MB / 0.7801 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.6164, allocations: 1.015 MB / 0.7811 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.6177, allocations: 1.023 MB / 0.7821 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.6178, allocations: 56 kB / 0.7822 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/0.6218, allocations: 2.069 MB / 0.7842 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004808/0.6223, allocations: 430.5 kB / 0.7846 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.6231, allocations: 0.637 MB / 0.7852 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.6264, allocations: 2.27 MB / 0.7874 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6264, allocations: 0 / 0.7874 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6265, allocations: 0 / 0.7874 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.6265, allocations: 0 / 0.7874 GB, free: 14.32 MB / 0.6075 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.005299/0.6318, allocations: 1.95 MB / 0.7893 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6318, allocations: 12.03 kB / 0.7893 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.632, allocations: 143.5 kB / 0.7895 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00586/0.6379, allocations: 0.8955 MB / 0.7904 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.6396, allocations: 0.9175 MB / 0.7913 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.6397, allocations: 66 kB / 0.7913 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.6399, allocations: 91.98 kB / 0.7914 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.6441, allocations: 1.579 MB / 0.7929 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.6441, allocations: 0 / 0.7929 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.6443, allocations: 35.98 kB / 0.793 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-05/0.6444, allocations: 49.98 kB / 0.793 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005866/0.6503, allocations: 1.85 MB / 0.7948 GB, free: 6.582 MB / 0.6075 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.009488/0.6598, allocations: 4.736 MB / 0.7995 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/0.6643, allocations: 1.573 MB / 0.801 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.6667, allocations: 0.8546 MB / 0.8018 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.668, allocations: 0.9413 MB / 0.8027 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00263/0.6707, allocations: 0.9067 MB / 0.8036 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.406e-06/0.6707, allocations: 0 / 0.8036 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.008124/0.6788, allocations: 2.454 MB / 0.806 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.6789, allocations: 60.41 kB / 0.8061 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.6807, allocations: 1.201 MB / 0.8073 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.6809, allocations: 49.62 kB / 0.8073 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/0.6814, allocations: 0.5409 MB / 0.8078 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.6817, allocations: 327.3 kB / 0.8081 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.6821, allocations: 190.5 kB / 0.8083 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6823, allocations: 345.9 kB / 0.8087 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.6845, allocations: 0.6928 MB / 0.8093 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.687, allocations: 0.9229 MB / 0.8102 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004385/0.6914, allocations: 1.554 MB / 0.8118 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6914, allocations: 0 / 0.8118 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005174/0.6966, allocations: 1.776 MB / 0.8135 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.6966, allocations: 8 kB / 0.8135 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6967, allocations: 4 kB / 0.8135 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.6967, allocations: 8 kB / 0.8135 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.6985, allocations: 343.9 kB / 0.8138 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/0.6986, allocations: 15.98 kB / 0.8138 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.7004, allocations: 258.7 kB / 0.8141 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.7005, allocations: 47.97 kB / 0.8141 GB, free: 2.195 MB / 0.6231 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.0007155/0.7012, allocations: 329.3 kB / 0.8145 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/0.7015, allocations: 142.2 kB / 0.8146 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.7071, allocations: 1.801 MB / 0.8164 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.7071, allocations: 8 kB / 0.8164 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.7071, allocations: 3.938 kB / 0.8164 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.7072, allocations: 3.984 kB / 0.8164 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007827/0.715, allocations: 3.336 MB / 0.8196 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.715, allocations: 4 kB / 0.8196 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.7168, allocations: 283.9 kB / 0.8199 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.7169, allocations: 8 kB / 0.8199 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.717, allocations: 35.97 kB / 0.8199 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.717, allocations: 4 kB / 0.8199 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.717, allocations: 11.94 kB / 0.82 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/0.7245, allocations: 2.851 MB / 0.8227 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.7251, allocations: 319.2 kB / 0.823 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.7254, allocations: 24.88 kB / 0.8231 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.7269, allocations: 171.7 kB / 0.8232 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.7271, allocations: 80.44 kB / 0.8233 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.7272, allocations: 39.91 kB / 0.8233 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001127/0.7284, allocations: 0.8315 MB / 0.8242 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7284, allocations: 0 / 0.8242 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001237/0.7296, allocations: 343.6 kB / 0.8245 GB, free: 7.398 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.008983/0.7386, allocations: 3.828 MB / 0.8282 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004881/0.7435, allocations: 1.619 MB / 0.8298 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7435, allocations: 4 kB / 0.8298 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.7459, allocations: 0.836 MB / 0.8306 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.7489, allocations: 0.5877 MB / 0.8312 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/0.7759, allocations: 13.24 MB / 0.8441 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/0.7768, allocations: 1.183 MB / 0.8453 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001725/0.7786, allocations: 362 kB / 0.8456 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/0.7794, allocations: 0.4993 MB / 0.8461 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/0.7795, allocations: 0 / 0.8461 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2773/1.057, allocations: 34.09 MB / 0.8794 GB, free: 222.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/1.057, allocations: 233.6 kB / 0.8796 GB, free: 222.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.705, allocations: 5.812 kB / 0.8796 GB, free: 222.5 MB / 0.67 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)