Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_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.001057/0.001057, 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.001096/0.001096, allocations: 192.7 kB / 16.14 MB, free: 6.688 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9018/0.9018, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 60.78 kB / 0.5048 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1444, allocations: 80.93 MB / 0.5838 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.3928/0.5372, allocations: 191.5 MB / 0.7709 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008946/0.5462, allocations: 5.178 MB / 0.7759 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5475, allocations: 43.69 kB / 0.776 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.5493, allocations: 0.7194 MB / 0.7767 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005743/0.5551, allocations: 2.452 MB / 0.7791 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.5575, allocations: 0.9971 MB / 0.78 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.5611, allocations: 3.547 MB / 0.7835 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.5627, allocations: 0.8132 MB / 0.7843 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.5646, allocations: 0.9958 MB / 0.7853 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.5662, allocations: 0.9923 MB / 0.7862 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.5664, allocations: 52 kB / 0.7863 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.5702, allocations: 2.069 MB / 0.7883 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.5708, allocations: 418.5 kB / 0.7887 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.5716, allocations: 0.6214 MB / 0.7893 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.5752, allocations: 2.231 MB / 0.7915 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.5752, allocations: 8 kB / 0.7915 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5752, allocations: 0 / 0.7915 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.108e-05/0.5753, allocations: 0 / 0.7915 GB, free: 8.547 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005627/0.5809, allocations: 1.924 MB / 0.7934 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.581, allocations: 15.97 kB / 0.7934 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.5812, allocations: 139.5 kB / 0.7935 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.5858, allocations: 0.7005 MB / 0.7942 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.5873, allocations: 0.8981 MB / 0.7951 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.5873, allocations: 66 kB / 0.7951 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.5875, allocations: 87.91 kB / 0.7952 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.5907, allocations: 1.473 MB / 0.7967 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5908, allocations: 0 / 0.7967 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.5909, allocations: 36 kB / 0.7967 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.5909, allocations: 49.97 kB / 0.7967 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004071/0.595, allocations: 1.565 MB / 0.7983 GB, free: 1.414 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.006337/0.6014, allocations: 5.012 MB / 0.8032 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.6046, allocations: 1.187 MB / 0.8043 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.6063, allocations: 0.6683 MB / 0.805 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.6075, allocations: 0.9371 MB / 0.8059 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.6093, allocations: 0.7264 MB / 0.8066 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 4.248e-06/0.6093, allocations: 0 / 0.8066 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.005679/0.615, allocations: 1.956 MB / 0.8085 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.6151, allocations: 64.06 kB / 0.8086 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.6166, allocations: 1.271 MB / 0.8098 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.116e-05/0.6167, allocations: 45.7 kB / 0.8099 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.6171, allocations: 0.5638 MB / 0.8104 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.6173, allocations: 280 kB / 0.8107 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.6177, allocations: 186.5 kB / 0.8109 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6178, allocations: 345.9 kB / 0.8112 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.6193, allocations: 0.5406 MB / 0.8117 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.6211, allocations: 0.8247 MB / 0.8125 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.6242, allocations: 1.34 MB / 0.8138 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.6242, allocations: 4 kB / 0.8138 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003686/0.6279, allocations: 1.515 MB / 0.8153 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6279, allocations: 12.16 kB / 0.8153 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6279, allocations: 9.562 kB / 0.8153 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.628, allocations: 12 kB / 0.8153 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6294, allocations: 291.5 kB / 0.8156 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.6294, allocations: 19.92 kB / 0.8156 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.6307, allocations: 218.6 kB / 0.8158 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.6308, allocations: 51.98 kB / 0.8159 GB, free: 14.66 MB / 0.6387 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.0004939/0.6313, allocations: 331.7 kB / 0.8162 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.6316, allocations: 134.3 kB / 0.8163 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.6353, allocations: 1.452 MB / 0.8178 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6353, allocations: 12 kB / 0.8178 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6353, allocations: 96 / 0.8178 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.6354, allocations: 11.86 kB / 0.8178 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.641, allocations: 2.86 MB / 0.8206 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.641, allocations: 4.5 kB / 0.8206 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.6423, allocations: 227.7 kB / 0.8208 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.6423, allocations: 8 kB / 0.8208 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.6424, allocations: 27.97 kB / 0.8208 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.6424, allocations: 7.938 kB / 0.8208 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6424, allocations: 8 kB / 0.8208 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.6477, allocations: 2.311 MB / 0.8231 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/0.6482, allocations: 307.1 kB / 0.8234 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.6484, allocations: 20 kB / 0.8234 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.6495, allocations: 125.4 kB / 0.8235 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.6497, allocations: 68.36 kB / 0.8236 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/0.6498, allocations: 35.97 kB / 0.8236 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001072/0.6509, allocations: 0.8762 MB / 0.8245 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6509, allocations: 0 / 0.8245 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009493/0.6518, allocations: 315.7 kB / 0.8248 GB, free: 5.352 MB / 0.6387 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.006617/0.6584, allocations: 3.285 MB / 0.828 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.6619, allocations: 1.304 MB / 0.8293 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6619, allocations: 0 / 0.8293 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.6636, allocations: 0.6639 MB / 0.8299 GB, free: 232 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.6662, allocations: 0.5791 MB / 0.8305 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/0.688, allocations: 12.33 MB / 0.8425 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007749/0.6888, allocations: 1.179 MB / 0.8437 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001526/0.6903, allocations: 354.1 kB / 0.844 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007913/0.6911, allocations: 495.2 kB / 0.8445 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.6911, allocations: 0 / 0.8445 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7618/1.453, allocations: 33.46 MB / 0.8772 GB, free: 219.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.453, allocations: 245.6 kB / 0.8774 GB, free: 218.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/4.062, allocations: 4.609 kB / 0.8774 GB, free: 218.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)