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.001405/0.001405, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.531/1.531, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.859/0.859, allocations: 115.3 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 64.62 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1541, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5627/0.7168, allocations: 191.5 MB / 0.7429 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009978/0.7268, allocations: 5.173 MB / 0.748 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.7283, allocations: 43.69 kB / 0.748 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.7305, allocations: 0.7233 MB / 0.7487 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.7368, allocations: 2.44 MB / 0.7511 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.7396, allocations: 1.01 MB / 0.7521 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00415/0.7437, allocations: 3.534 MB / 0.7555 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.7459, allocations: 0.8131 MB / 0.7563 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.7487, allocations: 1.004 MB / 0.7573 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.7505, allocations: 0.9922 MB / 0.7583 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.7509, allocations: 52 kB / 0.7583 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/0.7551, allocations: 2.073 MB / 0.7603 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006422/0.7558, allocations: 414.6 kB / 0.7607 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.7577, allocations: 0.6292 MB / 0.7613 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007132/0.7648, allocations: 2.227 MB / 0.7635 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.7648, allocations: 0 / 0.7635 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7649, allocations: 0 / 0.7635 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001192/0.765, allocations: 0 / 0.7635 GB, free: 2.078 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.007899/0.7729, allocations: 1.934 MB / 0.7654 GB, free: 92 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.244e-05/0.773, allocations: 8.031 kB / 0.7654 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004257/0.7734, allocations: 139.5 kB / 0.7656 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.778, allocations: 0.7122 MB / 0.7662 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.7799, allocations: 0.8864 MB / 0.7671 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.78, allocations: 65.98 kB / 0.7672 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.7803, allocations: 91.98 kB / 0.7673 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/0.7839, allocations: 1.465 MB / 0.7687 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.7839, allocations: 3.938 kB / 0.7687 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.784, allocations: 39.98 kB / 0.7687 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.196e-05/0.7841, allocations: 49.98 kB / 0.7688 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/0.7885, allocations: 1.561 MB / 0.7703 GB, free: 10.95 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.007868/0.7964, allocations: 5.019 MB / 0.7752 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.7998, allocations: 1.181 MB / 0.7764 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.8016, allocations: 0.6585 MB / 0.777 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.8029, allocations: 0.9449 MB / 0.7779 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001901/0.8048, allocations: 0.7302 MB / 0.7786 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 4.799e-06/0.8048, allocations: 0 / 0.7786 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005976/0.8108, allocations: 1.956 MB / 0.7805 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.8108, allocations: 60.06 kB / 0.7806 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.8125, allocations: 1.271 MB / 0.7818 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.8126, allocations: 49.69 kB / 0.7819 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.813, allocations: 0.5677 MB / 0.7824 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.8133, allocations: 276.1 kB / 0.7827 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.8136, allocations: 182.4 kB / 0.7829 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8138, allocations: 353.9 kB / 0.7832 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.8154, allocations: 0.5445 MB / 0.7838 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.8172, allocations: 0.8208 MB / 0.7846 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/0.8205, allocations: 1.344 MB / 0.7859 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.8205, allocations: 4 kB / 0.7859 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004054/0.8246, allocations: 1.507 MB / 0.7873 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.8246, allocations: 8 kB / 0.7874 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8246, allocations: 8 kB / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.8247, allocations: 12 kB / 0.7874 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.8261, allocations: 296 kB / 0.7877 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/0.8262, allocations: 15.98 kB / 0.7877 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.8276, allocations: 222.7 kB / 0.7879 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.8278, allocations: 55.86 kB / 0.7879 GB, free: 8.168 MB / 0.6075 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.000504/0.8283, allocations: 339.7 kB / 0.7883 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.8285, allocations: 134.3 kB / 0.7884 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.8325, allocations: 1.448 MB / 0.7898 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.8325, allocations: 8 kB / 0.7898 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8325, allocations: 0 / 0.7898 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.8325, allocations: 3.984 kB / 0.7898 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005979/0.8385, allocations: 2.862 MB / 0.7926 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.8385, allocations: 4 kB / 0.7926 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.8398, allocations: 224 kB / 0.7928 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.8398, allocations: 8 kB / 0.7928 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/0.8399, allocations: 35.97 kB / 0.7929 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.8399, allocations: 8 kB / 0.7929 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.8399, allocations: 8.953 kB / 0.7929 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005553/0.8455, allocations: 2.307 MB / 0.7951 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/0.846, allocations: 307.2 kB / 0.7954 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.8463, allocations: 20 kB / 0.7954 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.8476, allocations: 119.9 kB / 0.7956 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.8477, allocations: 68.36 kB / 0.7956 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.8478, allocations: 36.06 kB / 0.7957 GB, free: 52 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001128/0.849, allocations: 0.8724 MB / 0.7965 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.849, allocations: 0 / 0.7965 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001143/0.8501, allocations: 319.6 kB / 0.7968 GB, free: 14.86 MB / 0.6231 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.00705/0.8572, allocations: 3.287 MB / 0.8 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.8607, allocations: 1.308 MB / 0.8013 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8608, allocations: 0 / 0.8013 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.8625, allocations: 0.6638 MB / 0.802 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.8653, allocations: 0.5953 MB / 0.8025 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.8874, allocations: 12.3 MB / 0.8145 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/0.8883, allocations: 1.175 MB / 0.8157 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001592/0.8899, allocations: 362.1 kB / 0.816 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/0.8907, allocations: 495.2 kB / 0.8165 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/0.8907, allocations: 4 kB / 0.8165 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3792/1.27, allocations: 33.45 MB / 0.8492 GB, free: 225.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.27, allocations: 251.2 kB / 0.8494 GB, free: 225.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/4.099, allocations: 0 / 0.8494 GB, free: 225.5 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)