Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.009714/0.009714, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.002089/0.002089, allocations: 194.6 kB / 16.79 MB, free: 6.242 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.536/1.536, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6931/0.6931, allocations: 115.4 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 60.25 kB / 493 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1544, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5625/0.717, allocations: 191.5 MB / 0.7429 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009957/0.727, allocations: 5.179 MB / 0.7479 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.7288, allocations: 51.62 kB / 0.748 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.7311, allocations: 0.7155 MB / 0.7487 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00671/0.7379, allocations: 2.441 MB / 0.7511 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.7409, allocations: 1.009 MB / 0.7521 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004147/0.7451, allocations: 3.557 MB / 0.7555 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.7465, allocations: 0.8093 MB / 0.7563 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.7486, allocations: 0.9998 MB / 0.7573 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.7502, allocations: 0.9923 MB / 0.7583 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.7505, allocations: 48 kB / 0.7583 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.7547, allocations: 2.065 MB / 0.7603 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007021/0.7555, allocations: 414.6 kB / 0.7607 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.7568, allocations: 0.6214 MB / 0.7613 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004316/0.7611, allocations: 2.212 MB / 0.7635 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7612, allocations: 0 / 0.7635 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7612, allocations: 8 kB / 0.7635 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.831e-05/0.7613, allocations: 0 / 0.7635 GB, free: 2.059 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.006134/0.7674, allocations: 1.923 MB / 0.7654 GB, free: 84 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.7675, allocations: 8.031 kB / 0.7654 GB, free: 76 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.7677, allocations: 143.5 kB / 0.7655 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.772, allocations: 0.6615 MB / 0.7662 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.7739, allocations: 0.8786 MB / 0.767 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.774, allocations: 70 kB / 0.7671 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/0.7743, allocations: 87.98 kB / 0.7672 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.778, allocations: 1.474 MB / 0.7686 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.778, allocations: 0 / 0.7686 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7782, allocations: 40 kB / 0.7687 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.7782, allocations: 41.98 kB / 0.7687 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/0.7825, allocations: 1.522 MB / 0.7702 GB, free: 11.02 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.008572/0.7911, allocations: 5.488 MB / 0.7755 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.7949, allocations: 1.28 MB / 0.7768 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.7967, allocations: 0.66 MB / 0.7774 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009451/0.7976, allocations: 0.5851 MB / 0.778 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.7997, allocations: 0.7107 MB / 0.7787 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.096e-06/0.7997, allocations: 0 / 0.7787 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005935/0.8056, allocations: 1.87 MB / 0.7805 GB, free: 4 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.8057, allocations: 71.98 kB / 0.7806 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.8076, allocations: 1.235 MB / 0.7818 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.8077, allocations: 41.7 kB / 0.7818 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.8083, allocations: 0.5831 MB / 0.7824 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.8086, allocations: 276.1 kB / 0.7827 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.809, allocations: 178.5 kB / 0.7828 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8091, allocations: 341.9 kB / 0.7832 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.8108, allocations: 0.5405 MB / 0.7837 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.8126, allocations: 0.8266 MB / 0.7845 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.8159, allocations: 1.325 MB / 0.7858 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.8159, allocations: 7.938 kB / 0.7858 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004044/0.82, allocations: 1.491 MB / 0.7873 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.82, allocations: 8 kB / 0.7873 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.82, allocations: 8 kB / 0.7873 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.8201, allocations: 12 kB / 0.7873 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.8215, allocations: 299.6 kB / 0.7876 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/0.8215, allocations: 18.19 kB / 0.7876 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.823, allocations: 214.8 kB / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.8231, allocations: 51.97 kB / 0.7878 GB, free: 8.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005731/0.8237, allocations: 343.7 kB / 0.7882 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.824, allocations: 134.2 kB / 0.7883 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.8278, allocations: 1.405 MB / 0.7897 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8279, allocations: 8 kB / 0.7897 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.8279, allocations: 4 kB / 0.7897 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.8279, allocations: 3.984 kB / 0.7897 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.8338, allocations: 2.807 MB / 0.7924 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.8339, allocations: 4 kB / 0.7924 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.8352, allocations: 231.8 kB / 0.7927 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.8352, allocations: 4 kB / 0.7927 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/0.8353, allocations: 27.97 kB / 0.7927 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.8353, allocations: 12 kB / 0.7927 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8353, allocations: 7.938 kB / 0.7927 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005682/0.841, allocations: 2.244 MB / 0.7949 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.8417, allocations: 295.2 kB / 0.7952 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.842, allocations: 23.98 kB / 0.7952 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.8433, allocations: 127.8 kB / 0.7953 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.8434, allocations: 64.36 kB / 0.7954 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/0.8435, allocations: 35.97 kB / 0.7954 GB, free: 300 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0012/0.8447, allocations: 0.8522 MB / 0.7962 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8447, allocations: 0 / 0.7962 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00112/0.8459, allocations: 323.6 kB / 0.7966 GB, free: 15.12 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * 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.007421/0.8533, allocations: 3.227 MB / 0.7997 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004308/0.8576, allocations: 1.283 MB / 0.801 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/0.8577, allocations: 0 / 0.801 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.8596, allocations: 0.6365 MB / 0.8016 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004005/0.8637, allocations: 0.5695 MB / 0.8021 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02593/0.8896, allocations: 12.1 MB / 0.814 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.8908, allocations: 1.175 MB / 0.8151 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001648/0.8924, allocations: 341.9 kB / 0.8154 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008657/0.8933, allocations: 0.4914 MB / 0.8159 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of SimCode: time 1.433e-06/0.8933, allocations: 0 / 0.8159 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3783/1.272, allocations: 32.41 MB / 0.8476 GB, free: 226.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/1.272, allocations: 265.9 kB / 0.8478 GB, free: 226.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/4.062, allocations: 0 / 0.8478 GB, free: 226.2 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)