Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001023/0.001023, allocations: 91.06 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.008246/0.008246, allocations: 171.9 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.3 MB / 423.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002982, allocations: 8 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.376, allocations: 81.57 MB / 0.5837 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1956/0.5716, allocations: 189 MB / 0.7683 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008258/0.5799, allocations: 5.137 MB / 0.7733 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.581, allocations: 39.69 kB / 0.7734 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.5827, allocations: 0.7155 MB / 0.7741 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.5881, allocations: 2.444 MB / 0.7765 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.5905, allocations: 1.013 MB / 0.7774 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003591/0.5941, allocations: 3.537 MB / 0.7809 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.5953, allocations: 0.8072 MB / 0.7817 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.5971, allocations: 0.9881 MB / 0.7827 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.5985, allocations: 0.965 MB / 0.7836 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.5986, allocations: 44 kB / 0.7836 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.6019, allocations: 2.065 MB / 0.7857 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.6024, allocations: 402.6 kB / 0.786 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.6032, allocations: 0.6309 MB / 0.7867 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.606, allocations: 2.196 MB / 0.7888 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6061, allocations: 0 / 0.7888 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6061, allocations: 0 / 0.7888 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.6061, allocations: 0 / 0.7888 GB, free: 13.62 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004454/0.6105, allocations: 1.681 MB / 0.7904 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6106, allocations: 12.02 kB / 0.7905 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.6108, allocations: 135.5 kB / 0.7906 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003969/0.6147, allocations: 0.7045 MB / 0.7913 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.6161, allocations: 0.8825 MB / 0.7921 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.6162, allocations: 69.98 kB / 0.7922 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.6164, allocations: 91.98 kB / 0.7923 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.6195, allocations: 1.485 MB / 0.7937 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.6195, allocations: 3.938 kB / 0.7937 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.6197, allocations: 36 kB / 0.7938 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.6197, allocations: 49.92 kB / 0.7938 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.6238, allocations: 1.542 MB / 0.7953 GB, free: 6.723 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.006548/0.6303, allocations: 5.483 MB / 0.8007 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/0.634, allocations: 1.328 MB / 0.802 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.6358, allocations: 0.6661 MB / 0.8026 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000824/0.6366, allocations: 0.5968 MB / 0.8032 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/0.6384, allocations: 0.7224 MB / 0.8039 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 2.756e-06/0.6385, allocations: 0 / 0.8039 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005472/0.6439, allocations: 1.909 MB / 0.8058 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.644, allocations: 64.06 kB / 0.8058 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.6453, allocations: 1.239 MB / 0.8071 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.424e-05/0.6454, allocations: 41.7 kB / 0.8071 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/0.6459, allocations: 0.5831 MB / 0.8077 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6462, allocations: 276.1 kB / 0.8079 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.6463, allocations: 77.67 kB / 0.808 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6465, allocations: 345.9 kB / 0.8083 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.6481, allocations: 0.5445 MB / 0.8089 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.65, allocations: 0.8291 MB / 0.8097 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.6533, allocations: 1.352 MB / 0.811 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.6533, allocations: 3.938 kB / 0.811 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003757/0.6571, allocations: 1.519 MB / 0.8125 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6571, allocations: 12.16 kB / 0.8125 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6571, allocations: 8 kB / 0.8125 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.6571, allocations: 12 kB / 0.8125 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6585, allocations: 303.5 kB / 0.8128 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.6586, allocations: 19.92 kB / 0.8128 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.6599, allocations: 234.7 kB / 0.813 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.66, allocations: 55.91 kB / 0.8131 GB, free: 3.848 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0004591/0.6605, allocations: 339.7 kB / 0.8134 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.6607, allocations: 134.3 kB / 0.8135 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/0.6645, allocations: 1.432 MB / 0.8149 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6645, allocations: 8 kB / 0.815 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6645, allocations: 0 / 0.815 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6645, allocations: 3.984 kB / 0.815 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2443/0.9089, allocations: 2.818 MB / 0.8177 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.9089, allocations: 4.641 kB / 0.8177 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.9102, allocations: 226.3 kB / 0.8179 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.9103, allocations: 7.094 kB / 0.8179 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-05/0.9104, allocations: 30.66 kB / 0.818 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.9104, allocations: 12.19 kB / 0.818 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9104, allocations: 3.188 kB / 0.818 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/0.9163, allocations: 2.283 MB / 0.8202 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.9168, allocations: 306 kB / 0.8205 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.9171, allocations: 24.25 kB / 0.8205 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.9184, allocations: 133.7 kB / 0.8207 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.9185, allocations: 62.08 kB / 0.8207 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.9186, allocations: 41.02 kB / 0.8207 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001207/0.9198, allocations: 0.8554 MB / 0.8216 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9198, allocations: 0 / 0.8216 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001084/0.9209, allocations: 320.2 kB / 0.8219 GB, free: 218.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.006891/0.9278, allocations: 3.257 MB / 0.8251 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.9315, allocations: 1.301 MB / 0.8263 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9315, allocations: 3.875 kB / 0.8263 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.9333, allocations: 0.65 MB / 0.827 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.9369, allocations: 0.5736 MB / 0.8275 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/0.9581, allocations: 12.26 MB / 0.8395 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.9588, allocations: 1.178 MB / 0.8407 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00147/0.9602, allocations: 331 kB / 0.841 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/0.9609, allocations: 0.4938 MB / 0.8415 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.9609, allocations: 0 / 0.8415 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4994/1.46, allocations: 32 MB / 0.8727 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/1.46, allocations: 246.4 kB / 0.8729 GB, free: 179.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.987, allocations: 0 / 0.8729 GB, free: 179.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)