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.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001109/0.001109, allocations: 191 kB / 16.14 MB, free: 6.66 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.06 kB / 0.5012 GB, free: 9.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1408, allocations: 80.2 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4137/0.5545, allocations: 191.6 MB / 0.7666 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009614/0.5642, allocations: 5.181 MB / 0.7716 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.5659, allocations: 43.69 kB / 0.7717 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.568, allocations: 0.7194 MB / 0.7724 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006478/0.5745, allocations: 2.445 MB / 0.7747 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.5773, allocations: 0.9949 MB / 0.7757 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.5813, allocations: 3.547 MB / 0.7792 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.5825, allocations: 0.821 MB / 0.78 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.5843, allocations: 0.992 MB / 0.781 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.5855, allocations: 0.9962 MB / 0.7819 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.5857, allocations: 52 kB / 0.782 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.5895, allocations: 2.073 MB / 0.784 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.59, allocations: 422.5 kB / 0.7844 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007923/0.5908, allocations: 0.6214 MB / 0.785 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.5941, allocations: 2.227 MB / 0.7872 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5941, allocations: 0 / 0.7872 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5941, allocations: 0 / 0.7872 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.5941, allocations: 0 / 0.7872 GB, free: 14.52 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.005133/0.5993, allocations: 1.928 MB / 0.7891 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5993, allocations: 12.03 kB / 0.7891 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.5995, allocations: 135.5 kB / 0.7892 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004567/0.6041, allocations: 0.7122 MB / 0.7899 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.6055, allocations: 0.8902 MB / 0.7908 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.6056, allocations: 69.98 kB / 0.7908 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.6057, allocations: 87.97 kB / 0.7909 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.6089, allocations: 1.471 MB / 0.7924 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.6089, allocations: 7.938 kB / 0.7924 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6091, allocations: 36 kB / 0.7924 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/0.6091, allocations: 45.98 kB / 0.7924 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.6133, allocations: 1.561 MB / 0.794 GB, free: 7.387 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.006522/0.6199, allocations: 5.013 MB / 0.7989 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003331/0.6232, allocations: 1.19 MB / 0.8 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.6249, allocations: 0.6585 MB / 0.8007 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.6262, allocations: 0.9449 MB / 0.8016 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/0.6281, allocations: 0.7225 MB / 0.8023 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.6281, allocations: 0 / 0.8023 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.005982/0.6341, allocations: 1.96 MB / 0.8042 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.6342, allocations: 60.06 kB / 0.8043 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.6357, allocations: 1.267 MB / 0.8055 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.6358, allocations: 41.7 kB / 0.8055 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.6362, allocations: 0.5716 MB / 0.8061 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.6365, allocations: 280 kB / 0.8064 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.6368, allocations: 186.5 kB / 0.8066 GB, free: 10 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6369, allocations: 345.9 kB / 0.8069 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.6386, allocations: 0.5406 MB / 0.8074 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.6404, allocations: 0.8208 MB / 0.8082 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.6436, allocations: 1.349 MB / 0.8095 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.6436, allocations: 0 / 0.8095 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003936/0.6476, allocations: 1.511 MB / 0.811 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.6476, allocations: 8 kB / 0.811 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.6476, allocations: 8 kB / 0.811 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.6477, allocations: 12 kB / 0.811 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.6491, allocations: 296 kB / 0.8113 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.6492, allocations: 19.92 kB / 0.8113 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.6506, allocations: 226.6 kB / 0.8115 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.6507, allocations: 39.98 kB / 0.8116 GB, free: 4.641 MB / 0.6231 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.0005443/0.6513, allocations: 339.7 kB / 0.8119 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.6515, allocations: 134.3 kB / 0.812 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.6554, allocations: 1.453 MB / 0.8135 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.6554, allocations: 8 kB / 0.8135 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6554, allocations: 0 / 0.8135 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.6554, allocations: 7.922 kB / 0.8135 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005932/0.6614, allocations: 2.862 MB / 0.8163 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.6614, allocations: 4 kB / 0.8163 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.6627, allocations: 227.9 kB / 0.8165 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.6627, allocations: 4 kB / 0.8165 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.888e-05/0.6628, allocations: 27.97 kB / 0.8165 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.6628, allocations: 16.03 kB / 0.8165 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6629, allocations: 7.938 kB / 0.8165 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.6684, allocations: 2.314 MB / 0.8188 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/0.669, allocations: 299.1 kB / 0.8191 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.6693, allocations: 27.98 kB / 0.8191 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.6706, allocations: 119.9 kB / 0.8192 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.6707, allocations: 68.36 kB / 0.8193 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.693e-05/0.6708, allocations: 35.97 kB / 0.8193 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001218/0.672, allocations: 0.8762 MB / 0.8202 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4e-07/0.6721, allocations: 0 / 0.8202 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001068/0.6731, allocations: 315.7 kB / 0.8205 GB, free: 11.31 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.006912/0.68, allocations: 3.288 MB / 0.8237 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003592/0.6837, allocations: 1.304 MB / 0.825 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6837, allocations: 4 kB / 0.825 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.6855, allocations: 0.6521 MB / 0.8256 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/0.6884, allocations: 0.5938 MB / 0.8262 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.7107, allocations: 12.32 MB / 0.8382 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/0.7116, allocations: 1.167 MB / 0.8394 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001644/0.7133, allocations: 366.1 kB / 0.8397 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007943/0.7141, allocations: 495.2 kB / 0.8402 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.7141, allocations: 0 / 0.8402 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2986/1.013, allocations: 33.45 MB / 0.8728 GB, free: 223.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.013, allocations: 242.7 kB / 0.8731 GB, free: 223.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.604, allocations: 0 / 0.8731 GB, free: 223.2 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)