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.001511/0.001511, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001836, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.783/0.783, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 63.73 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4252, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2242/0.6495, allocations: 193.8 MB / 0.7695 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008818/0.6584, allocations: 5.146 MB / 0.7745 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.6599, allocations: 47.69 kB / 0.7745 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.6621, allocations: 0.8081 MB / 0.7753 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006183/0.6683, allocations: 2.606 MB / 0.7779 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.671, allocations: 1.101 MB / 0.779 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003365/0.6744, allocations: 2.606 MB / 0.7815 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.6759, allocations: 0.8961 MB / 0.7824 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.6781, allocations: 1.074 MB / 0.7834 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.6798, allocations: 0.9458 MB / 0.7843 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.6801, allocations: 76 kB / 0.7844 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004427/0.6845, allocations: 1.785 MB / 0.7862 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008214/0.6854, allocations: 438.6 kB / 0.7866 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.6871, allocations: 0.6409 MB / 0.7872 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005427/0.6926, allocations: 2.142 MB / 0.7893 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.6926, allocations: 0 / 0.7893 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6926, allocations: 0 / 0.7893 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.261e-05/0.6927, allocations: 0 / 0.7893 GB, free: 10.61 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.006105/0.6988, allocations: 1.93 MB / 0.7912 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6989, allocations: 8.031 kB / 0.7912 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002756/0.6992, allocations: 135.5 kB / 0.7913 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004177/0.7033, allocations: 0.6614 MB / 0.792 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.7053, allocations: 0.8864 MB / 0.7928 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.7054, allocations: 66 kB / 0.7929 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.7057, allocations: 84 kB / 0.793 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/0.7094, allocations: 1.481 MB / 0.7944 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.7095, allocations: 0 / 0.7944 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.7096, allocations: 43.98 kB / 0.7945 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.533e-05/0.7097, allocations: 49.92 kB / 0.7945 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004469/0.7142, allocations: 1.518 MB / 0.796 GB, free: 3.551 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.008286/0.7225, allocations: 5.491 MB / 0.8014 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.7265, allocations: 1.282 MB / 0.8026 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.7283, allocations: 0.659 MB / 0.8032 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.7294, allocations: 0.5812 MB / 0.8038 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00197/0.7314, allocations: 0.7106 MB / 0.8045 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 3.827e-06/0.7314, allocations: 0 / 0.8045 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.006136/0.7375, allocations: 1.87 MB / 0.8063 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.7376, allocations: 64.06 kB / 0.8064 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.7397, allocations: 1.239 MB / 0.8076 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.7399, allocations: 45.7 kB / 0.8076 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/0.7405, allocations: 0.5792 MB / 0.8082 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003789/0.7409, allocations: 291.9 kB / 0.8085 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.7413, allocations: 178.5 kB / 0.8087 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7415, allocations: 341.9 kB / 0.809 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.7432, allocations: 0.5405 MB / 0.8095 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.7452, allocations: 0.8174 MB / 0.8103 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.7487, allocations: 1.332 MB / 0.8116 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.7488, allocations: 3.938 kB / 0.8116 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00431/0.7531, allocations: 1.487 MB / 0.8131 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.7531, allocations: 8 kB / 0.8131 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.7531, allocations: 8 kB / 0.8131 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/0.7532, allocations: 12 kB / 0.8131 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.7548, allocations: 303.9 kB / 0.8134 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.7548, allocations: 15.94 kB / 0.8134 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.7563, allocations: 194.7 kB / 0.8136 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.7565, allocations: 51.97 kB / 0.8136 GB, free: 0.793 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.0006365/0.7571, allocations: 347.5 kB / 0.814 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.7574, allocations: 138.3 kB / 0.8141 GB, free: 316 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3633/1.121, allocations: 1.398 MB / 0.8155 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.121, allocations: 7.062 kB / 0.8155 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.121, allocations: 1.609 kB / 0.8155 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.121, allocations: 7.016 kB / 0.8155 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/1.127, allocations: 2.795 MB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.127, allocations: 7.719 kB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.129, allocations: 224.7 kB / 0.8184 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/1.129, allocations: 7 kB / 0.8184 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/1.129, allocations: 26.95 kB / 0.8185 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.339e-05/1.129, allocations: 8.625 kB / 0.8185 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.129, allocations: 11.66 kB / 0.8185 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006259/1.135, allocations: 2.241 MB / 0.8207 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/1.136, allocations: 298.1 kB / 0.821 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.136, allocations: 25.08 kB / 0.821 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.137, allocations: 107.7 kB / 0.8211 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.137, allocations: 62.48 kB / 0.8211 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.138, allocations: 42.58 kB / 0.8212 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001678/1.139, allocations: 0.8528 MB / 0.822 GB, free: 218 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.01e-07/1.139, allocations: 0 / 0.822 GB, free: 218 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001965/1.141, allocations: 320 kB / 0.8223 GB, free: 218 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.007861/1.149, allocations: 3.233 MB / 0.8255 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004247/1.153, allocations: 1.411 MB / 0.8269 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/1.153, allocations: 0 / 0.8269 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.155, allocations: 0.6422 MB / 0.8275 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.158, allocations: 0.5836 MB / 0.8281 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.178, allocations: 11.76 MB / 0.8395 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/1.179, allocations: 1.177 MB / 0.8407 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001476/1.181, allocations: 342.6 kB / 0.841 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/1.181, allocations: 0.4942 MB / 0.8415 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/1.181, allocations: 4 kB / 0.8415 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/1.239, allocations: 33.54 MB / 0.8743 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/9.46, allocations: 10.84 kB / 0.8743 GB, free: 176.9 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)