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.0007442/0.0007442, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0008249/0.0008248, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8851/0.8851, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 11.98 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 82.3 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4599/0.6074, allocations: 189 MB / 0.7726 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007711/0.6151, allocations: 5.129 MB / 0.7776 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.6157, allocations: 43.62 kB / 0.7777 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.6171, allocations: 0.7155 MB / 0.7784 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.6216, allocations: 2.44 MB / 0.7808 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.6235, allocations: 0.9999 MB / 0.7817 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.6264, allocations: 3.535 MB / 0.7852 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009094/0.6273, allocations: 0.8072 MB / 0.786 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.6285, allocations: 0.9841 MB / 0.7869 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009377/0.6294, allocations: 0.9689 MB / 0.7879 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.6295, allocations: 47.94 kB / 0.7879 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.6321, allocations: 2.073 MB / 0.79 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.6325, allocations: 402.7 kB / 0.7903 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.633, allocations: 0.6386 MB / 0.791 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.635, allocations: 2.2 MB / 0.7931 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.6351, allocations: 0 / 0.7931 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6351, allocations: 0 / 0.7931 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.6351, allocations: 4 kB / 0.7931 GB, free: 10.39 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.004001/0.6391, allocations: 1.683 MB / 0.7948 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6391, allocations: 8.031 kB / 0.7948 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.6393, allocations: 143.4 kB / 0.7949 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.6433, allocations: 0.7474 MB / 0.7956 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.6444, allocations: 0.8865 MB / 0.7965 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.6445, allocations: 62 kB / 0.7966 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.6446, allocations: 91.98 kB / 0.7967 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.6475, allocations: 1.48 MB / 0.7981 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.6475, allocations: 0 / 0.7981 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/0.6476, allocations: 43.92 kB / 0.7981 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.6476, allocations: 53.92 kB / 0.7982 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00385/0.6515, allocations: 1.577 MB / 0.7997 GB, free: 3.434 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.005477/0.657, allocations: 5.047 MB / 0.8047 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.6602, allocations: 1.238 MB / 0.8059 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.6618, allocations: 0.6741 MB / 0.8065 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.6629, allocations: 0.9527 MB / 0.8075 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.6647, allocations: 0.7426 MB / 0.8082 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.104e-06/0.6647, allocations: 0 / 0.8082 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.005474/0.6702, allocations: 1.995 MB / 0.8101 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.6702, allocations: 64.06 kB / 0.8102 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.6715, allocations: 1.271 MB / 0.8114 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/0.6715, allocations: 41.7 kB / 0.8115 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.6719, allocations: 0.5677 MB / 0.812 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.6722, allocations: 284 kB / 0.8123 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.6723, allocations: 81.61 kB / 0.8124 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6724, allocations: 341.9 kB / 0.8127 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.674, allocations: 0.5523 MB / 0.8132 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.6757, allocations: 0.8403 MB / 0.8141 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.6789, allocations: 1.356 MB / 0.8154 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6789, allocations: 0 / 0.8154 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003595/0.6825, allocations: 1.546 MB / 0.8169 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6825, allocations: 8 kB / 0.8169 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6826, allocations: 8.625 kB / 0.8169 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6826, allocations: 12 kB / 0.8169 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.6839, allocations: 295.7 kB / 0.8172 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.6839, allocations: 15.94 kB / 0.8172 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.6852, allocations: 236.3 kB / 0.8174 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.6853, allocations: 47.98 kB / 0.8175 GB, free: 0.5391 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.0004164/0.6857, allocations: 343.6 kB / 0.8178 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6858, allocations: 134.3 kB / 0.8179 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.6896, allocations: 1.478 MB / 0.8194 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.6897, allocations: 12 kB / 0.8194 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6897, allocations: 0 / 0.8194 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.6897, allocations: 7.922 kB / 0.8194 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005426/0.6951, allocations: 2.884 MB / 0.8222 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.6951, allocations: 4.5 kB / 0.8222 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.6963, allocations: 231.7 kB / 0.8225 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/0.6963, allocations: 4 kB / 0.8225 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/0.6964, allocations: 31.97 kB / 0.8225 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.6964, allocations: 12.03 kB / 0.8225 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6964, allocations: 7.938 kB / 0.8225 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/0.7016, allocations: 2.342 MB / 0.8248 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.702, allocations: 319.1 kB / 0.8251 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.7022, allocations: 24 kB / 0.8251 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.7033, allocations: 127.9 kB / 0.8252 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7034, allocations: 64.42 kB / 0.8253 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.7035, allocations: 39.97 kB / 0.8253 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008872/0.7044, allocations: 0.8684 MB / 0.8262 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.334e-06/0.7044, allocations: 3.938 kB / 0.8262 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007892/0.7052, allocations: 323.6 kB / 0.8265 GB, free: 7.113 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.006774/0.712, allocations: 3.323 MB / 0.8297 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003526/0.7155, allocations: 1.327 MB / 0.831 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7155, allocations: 0 / 0.831 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.7172, allocations: 0.6716 MB / 0.8317 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.7205, allocations: 0.5943 MB / 0.8323 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.7395, allocations: 12.45 MB / 0.8444 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.7401, allocations: 1.186 MB / 0.8456 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001291/0.7414, allocations: 346.2 kB / 0.8459 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/0.7421, allocations: 495.2 kB / 0.8464 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.7421, allocations: 0 / 0.8464 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.693/2.436, allocations: 33.04 MB / 0.8787 GB, free: 217 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/2.436, allocations: 245.7 kB / 0.8789 GB, free: 216.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/5.636, allocations: 0 / 0.8789 GB, free: 216.7 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)