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.0008386/0.0008385, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009022/0.0009023, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7421/0.7421, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 16 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4139, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1862/0.6001, allocations: 176.3 MB / 0.7553 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007756/0.6079, allocations: 4.897 MB / 0.7601 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.6087, allocations: 39.69 kB / 0.7602 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.6102, allocations: 0.6141 MB / 0.7608 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004392/0.6146, allocations: 1.898 MB / 0.7626 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.617, allocations: 0.8977 MB / 0.7635 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003139/0.6202, allocations: 3.007 MB / 0.7664 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009966/0.6212, allocations: 0.7256 MB / 0.7671 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.6227, allocations: 0.9843 MB / 0.7681 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.6237, allocations: 0.9301 MB / 0.769 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.6238, allocations: 48 kB / 0.7691 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.626, allocations: 0.9353 MB / 0.77 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.6264, allocations: 398.7 kB / 0.7704 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.6267, allocations: 269 kB / 0.7706 GB, free: 116 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.6281, allocations: 1.356 MB / 0.7719 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6282, allocations: 4 kB / 0.7719 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6282, allocations: 0 / 0.7719 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.6282, allocations: 0 / 0.7719 GB, free: 14.75 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.004297/0.6325, allocations: 1.689 MB / 0.7736 GB, free: 13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6325, allocations: 15.97 kB / 0.7736 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.6327, allocations: 131.5 kB / 0.7737 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003941/0.6367, allocations: 0.7513 MB / 0.7745 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.6381, allocations: 0.8406 MB / 0.7753 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.6382, allocations: 70 kB / 0.7753 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.6384, allocations: 84 kB / 0.7754 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.6413, allocations: 1.48 MB / 0.7769 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.6413, allocations: 0 / 0.7769 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-05/0.6414, allocations: 35.95 kB / 0.7769 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/0.6415, allocations: 53.92 kB / 0.777 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.6454, allocations: 1.573 MB / 0.7785 GB, free: 7.848 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.006302/0.6517, allocations: 5.05 MB / 0.7834 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.6549, allocations: 1.224 MB / 0.7846 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.6566, allocations: 0.6819 MB / 0.7853 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.6578, allocations: 0.9488 MB / 0.7862 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/0.6596, allocations: 0.7381 MB / 0.7869 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/0.6596, allocations: 0 / 0.7869 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.00557/0.6652, allocations: 1.979 MB / 0.7889 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.6653, allocations: 60.06 kB / 0.7889 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.6669, allocations: 1.259 MB / 0.7902 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/0.667, allocations: 45.7 kB / 0.7902 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.6675, allocations: 0.5793 MB / 0.7908 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.6677, allocations: 284 kB / 0.791 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.6678, allocations: 20 kB / 0.7911 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.668, allocations: 341.9 kB / 0.7914 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.6695, allocations: 0.5484 MB / 0.7919 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.6712, allocations: 0.8325 MB / 0.7927 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6727, allocations: 0.6041 MB / 0.7933 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6727, allocations: 7.953 kB / 0.7933 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003633/0.6763, allocations: 1.538 MB / 0.7948 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6764, allocations: 8 kB / 0.7948 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6764, allocations: 8 kB / 0.7948 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.6764, allocations: 12 kB / 0.7949 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.6778, allocations: 295.8 kB / 0.7951 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.6778, allocations: 19.94 kB / 0.7952 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.679, allocations: 226.7 kB / 0.7954 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/0.6791, allocations: 47.97 kB / 0.7954 GB, free: 5.895 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000541/0.6797, allocations: 335.7 kB / 0.7957 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.6799, allocations: 142.2 kB / 0.7959 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.6835, allocations: 1.468 MB / 0.7973 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6835, allocations: 8 kB / 0.7973 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6836, allocations: 0 / 0.7973 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6836, allocations: 7.984 kB / 0.7973 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.6891, allocations: 2.881 MB / 0.8001 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.6891, allocations: 8.094 kB / 0.8001 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.6902, allocations: 231.7 kB / 0.8004 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.6903, allocations: 8 kB / 0.8004 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.6903, allocations: 27.97 kB / 0.8004 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.6903, allocations: 11.94 kB / 0.8004 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6904, allocations: 4 kB / 0.8004 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/0.6954, allocations: 2.338 MB / 0.8027 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.6959, allocations: 319.1 kB / 0.803 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.6961, allocations: 19.98 kB / 0.803 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.6971, allocations: 131.9 kB / 0.8031 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6972, allocations: 64.44 kB / 0.8032 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/0.6973, allocations: 35.97 kB / 0.8032 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001042/0.6984, allocations: 0.8645 MB / 0.8041 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6984, allocations: 3.938 kB / 0.8041 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009147/0.6993, allocations: 319.7 kB / 0.8044 GB, free: 12.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006275/0.7056, allocations: 3.312 MB / 0.8076 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003306/0.7089, allocations: 1.32 MB / 0.8089 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7089, allocations: 3.938 kB / 0.8089 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.7106, allocations: 0.6716 MB / 0.8096 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.7133, allocations: 0.5966 MB / 0.8102 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2793/0.9926, allocations: 8.789 MB / 0.8187 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/0.9934, allocations: 1.17 MB / 0.8199 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001767/0.9952, allocations: 351 kB / 0.8202 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/0.996, allocations: 499.6 kB / 0.8207 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.996, allocations: 0 / 0.8207 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04955/1.046, allocations: 33.17 MB / 0.8531 GB, free: 199 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.046, allocations: 233.4 kB / 0.8533 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.551, allocations: 0 / 0.8533 GB, free: 198.8 MB / 0.6387 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/linux/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) Environment - environmentSimulation: