Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.008274/0.008273, allocations: 98.08 kB / 15.73 MB, free: 6.055 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.001758/0.001758, allocations: 199.4 kB / 16.68 MB, free: 5.977 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 64.36 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.193, allocations: 80.22 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6756/0.8686, allocations: 193.8 MB / 0.8485 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008703/0.8773, allocations: 5.154 MB / 0.8535 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.8787, allocations: 47.28 kB / 0.8536 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.8804, allocations: 0.8195 MB / 0.8544 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.887, allocations: 2.697 MB / 0.857 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.8906, allocations: 1.105 MB / 0.8581 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003889/0.8945, allocations: 2.611 MB / 0.8606 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.8957, allocations: 0.8921 MB / 0.8615 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.8976, allocations: 1.116 MB / 0.8626 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.8986, allocations: 0.9595 MB / 0.8635 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.8988, allocations: 85.56 kB / 0.8636 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.9022, allocations: 1.798 MB / 0.8654 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.9026, allocations: 440.1 kB / 0.8658 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.9032, allocations: 0.6464 MB / 0.8664 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.9064, allocations: 2.199 MB / 0.8686 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9064, allocations: 4.406 kB / 0.8686 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9064, allocations: 0 / 0.8686 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.9064, allocations: 0 / 0.8686 GB, free: 1.641 MB / 0.6387 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.004549/0.911, allocations: 1.979 MB / 0.8705 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.911, allocations: 11.09 kB / 0.8705 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.9112, allocations: 134.7 kB / 0.8706 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.9154, allocations: 0.7121 MB / 0.8713 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.917, allocations: 0.9643 MB / 0.8723 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.917, allocations: 67 kB / 0.8723 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.9172, allocations: 92.48 kB / 0.8724 GB, free: 120 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.9201, allocations: 1.465 MB / 0.8739 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.9201, allocations: 4.188 kB / 0.8739 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.9202, allocations: 39.73 kB / 0.8739 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-05/0.9203, allocations: 48.38 kB / 0.8739 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.9241, allocations: 1.559 MB / 0.8755 GB, free: 15.91 MB / 0.6544 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.0069/0.931, allocations: 5.016 MB / 0.8804 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/0.9344, allocations: 1.186 MB / 0.8815 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.936, allocations: 0.6651 MB / 0.8822 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.9374, allocations: 0.942 MB / 0.8831 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/0.9394, allocations: 0.7278 MB / 0.8838 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 4.067e-06/0.9394, allocations: 0 / 0.8838 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.006197/0.9456, allocations: 1.964 MB / 0.8857 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.9457, allocations: 60.19 kB / 0.8858 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9472, allocations: 1.26 MB / 0.887 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.9474, allocations: 45.44 kB / 0.8871 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.9479, allocations: 0.5843 MB / 0.8876 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.9482, allocations: 288 kB / 0.8879 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.9485, allocations: 188.5 kB / 0.8881 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9487, allocations: 344.9 kB / 0.8884 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.9503, allocations: 0.5504 MB / 0.8889 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.9521, allocations: 0.8233 MB / 0.8898 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.9555, allocations: 1.335 MB / 0.8911 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.9555, allocations: 0 / 0.8911 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003958/0.9595, allocations: 1.531 MB / 0.8926 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9595, allocations: 7.688 kB / 0.8926 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.9596, allocations: 10.31 kB / 0.8926 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.9596, allocations: 10.31 kB / 0.8926 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.9615, allocations: 301.2 kB / 0.8929 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.9615, allocations: 13.28 kB / 0.8929 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.9635, allocations: 204.5 kB / 0.8931 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.9636, allocations: 51.19 kB / 0.8931 GB, free: 8.406 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005986/0.9642, allocations: 343 kB / 0.8935 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.9645, allocations: 145.3 kB / 0.8936 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/0.9684, allocations: 1.442 MB / 0.895 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.9684, allocations: 6.844 kB / 0.895 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.9684, allocations: 0 / 0.895 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.9684, allocations: 7.984 kB / 0.895 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.9745, allocations: 2.873 MB / 0.8978 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9745, allocations: 5.031 kB / 0.8978 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.9758, allocations: 234.6 kB / 0.898 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.9758, allocations: 9.562 kB / 0.8981 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.9759, allocations: 29.5 kB / 0.8981 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.9759, allocations: 5.344 kB / 0.8981 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.9759, allocations: 8.125 kB / 0.8981 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/0.9816, allocations: 2.319 MB / 0.9004 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/0.9824, allocations: 313.8 kB / 0.9007 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.9826, allocations: 21.31 kB / 0.9007 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.9838, allocations: 115.9 kB / 0.9008 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.984, allocations: 59.97 kB / 0.9008 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.984, allocations: 39.97 kB / 0.9009 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001273/0.9853, allocations: 0.8723 MB / 0.9017 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9853, allocations: 0 / 0.9017 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001159/0.9865, allocations: 319.7 kB / 0.902 GB, free: 2.531 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.007237/0.9937, allocations: 3.292 MB / 0.9053 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003801/0.9976, allocations: 1.318 MB / 0.9065 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.9976, allocations: 0 / 0.9065 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.9994, allocations: 0.6604 MB / 0.9072 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/1.002, allocations: 0.618 MB / 0.9078 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.023, allocations: 11.16 MB / 0.9187 GB, free: 1.402 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/1.023, allocations: 1.175 MB / 0.9198 GB, free: 204 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001357/1.025, allocations: 342.2 kB / 0.9202 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/1.025, allocations: 499.2 kB / 0.9206 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/1.025, allocations: 0 / 0.9206 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06617/1.092, allocations: 35 MB / 0.9548 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.71, allocations: 0.6562 kB / 0.9548 GB, free: 12.87 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_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_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)