Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_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.001315/0.001315, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001568/0.001568, allocations: 193 kB / 16.91 MB, free: 6.195 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 115.3 MB / 406.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3724, allocations: 76.17 MB / 0.556 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1909/0.5633, allocations: 191.3 MB / 0.7428 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.321/0.8844, allocations: 5.11 MB / 0.7478 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.8861, allocations: 47.81 kB / 0.7479 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.8884, allocations: 0.7267 MB / 0.7486 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.8948, allocations: 2.443 MB / 0.751 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.8976, allocations: 1.011 MB / 0.752 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004083/0.9017, allocations: 2.61 MB / 0.7545 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.9036, allocations: 0.8989 MB / 0.7554 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.9061, allocations: 1.11 MB / 0.7565 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.9084, allocations: 1.016 MB / 0.7575 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004215/0.9088, allocations: 81.56 kB / 0.7575 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.9132, allocations: 1.857 MB / 0.7593 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008943/0.9142, allocations: 446.4 kB / 0.7598 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.9159, allocations: 0.6521 MB / 0.7604 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.9209, allocations: 2.26 MB / 0.7626 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9209, allocations: 1.156 kB / 0.7626 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9209, allocations: 0.8125 kB / 0.7626 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.219e-05/0.921, allocations: 0 / 0.7626 GB, free: 1.555 MB / 0.5762 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.006353/0.9273, allocations: 1.926 MB / 0.7645 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9274, allocations: 10.81 kB / 0.7645 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.9276, allocations: 135 kB / 0.7646 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004494/0.9321, allocations: 0.7093 MB / 0.7653 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.9338, allocations: 0.8945 MB / 0.7662 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.971e-05/0.9339, allocations: 68.19 kB / 0.7663 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.9342, allocations: 89.3 kB / 0.7664 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/0.9375, allocations: 1.468 MB / 0.7678 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.9376, allocations: 4.094 kB / 0.7678 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.9377, allocations: 37.14 kB / 0.7678 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.579e-05/0.9378, allocations: 50.64 kB / 0.7679 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004354/0.9421, allocations: 1.561 MB / 0.7694 GB, free: 15.91 MB / 0.5919 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.007714/0.9498, allocations: 5.024 MB / 0.7743 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.9532, allocations: 1.187 MB / 0.7755 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.9548, allocations: 0.6654 MB / 0.7761 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/0.9562, allocations: 0.9458 MB / 0.777 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/0.9581, allocations: 0.723 MB / 0.7777 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.356e-06/0.9581, allocations: 1 kB / 0.7777 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005518/0.9636, allocations: 1.953 MB / 0.7797 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.9637, allocations: 62.45 kB / 0.7797 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9652, allocations: 1.272 MB / 0.781 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.9654, allocations: 40.08 kB / 0.781 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.9658, allocations: 0.5736 MB / 0.7816 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.966, allocations: 282.6 kB / 0.7818 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.9663, allocations: 185 kB / 0.782 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9665, allocations: 344.5 kB / 0.7823 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.9679, allocations: 0.5459 MB / 0.7829 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.9696, allocations: 0.824 MB / 0.7837 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.9726, allocations: 1.34 MB / 0.785 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.9726, allocations: 2.625 kB / 0.785 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003737/0.9764, allocations: 1.519 MB / 0.7865 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9764, allocations: 7.344 kB / 0.7865 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.9764, allocations: 10.16 kB / 0.7865 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.9765, allocations: 10.56 kB / 0.7865 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.9779, allocations: 295.3 kB / 0.7868 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.9779, allocations: 18.25 kB / 0.7868 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.9796, allocations: 215.5 kB / 0.787 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.9798, allocations: 47.89 kB / 0.787 GB, free: 10.59 MB / 0.5919 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.0006893/0.9805, allocations: 344.4 kB / 0.7874 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.9808, allocations: 135.3 kB / 0.7875 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.9845, allocations: 1.447 MB / 0.7889 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.9845, allocations: 8.656 kB / 0.7889 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9846, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.9846, allocations: 4.172 kB / 0.7889 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.9902, allocations: 2.851 MB / 0.7917 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.9902, allocations: 8.969 kB / 0.7917 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9914, allocations: 224 kB / 0.7919 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.9915, allocations: 8.25 kB / 0.7919 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/0.9916, allocations: 33.97 kB / 0.792 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.9916, allocations: 9.969 kB / 0.792 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9916, allocations: 4.625 kB / 0.792 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/0.9968, allocations: 2.319 MB / 0.7942 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.9975, allocations: 301.4 kB / 0.7945 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.9979, allocations: 23.92 kB / 0.7946 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.9993, allocations: 125.9 kB / 0.7947 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.9995, allocations: 66 kB / 0.7947 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.9996, allocations: 39.41 kB / 0.7948 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001558/1.001, allocations: 0.8718 MB / 0.7956 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.001, allocations: 0 / 0.7956 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001544/1.003, allocations: 317.3 kB / 0.7959 GB, free: 9.055 MB / 0.5919 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.007281/1.01, allocations: 3.299 MB / 0.7992 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003816/1.014, allocations: 1.425 MB / 0.8005 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.014, allocations: 4.25 kB / 0.8005 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/1.015, allocations: 0.6594 MB / 0.8012 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.019, allocations: 0.6144 MB / 0.8018 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/1.039, allocations: 12.32 MB / 0.8138 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/1.04, allocations: 1.17 MB / 0.815 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001538/1.041, allocations: 351.2 kB / 0.8153 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/1.042, allocations: 0.4896 MB / 0.8158 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/1.042, allocations: 0 / 0.8158 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/1.1, allocations: 34.32 MB / 0.8493 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.1, allocations: 259.8 kB / 0.8495 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.754, allocations: 3.938 kB / 0.8495 GB, free: 13.05 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)