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.001003/0.001003, allocations: 104.7 kB / 16.27 MB, free: 5.93 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.0009488/0.0009488, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.228/1.228, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7255/0.7255, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 59.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3059, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4334/0.7394, allocations: 193.8 MB / 0.7565 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007146/0.7466, allocations: 5.15 MB / 0.7616 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.7474, allocations: 47.16 kB / 0.7616 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.7489, allocations: 0.8109 MB / 0.7624 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00633/0.7552, allocations: 2.606 MB / 0.7649 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.7581, allocations: 1.106 MB / 0.766 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.7609, allocations: 2.595 MB / 0.7686 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.7619, allocations: 0.8887 MB / 0.7694 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.7634, allocations: 1.081 MB / 0.7705 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.7644, allocations: 0.9547 MB / 0.7714 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.7646, allocations: 80.81 kB / 0.7715 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.7676, allocations: 1.782 MB / 0.7732 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.768, allocations: 447.5 kB / 0.7737 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006657/0.7687, allocations: 0.6493 MB / 0.7743 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.7714, allocations: 2.137 MB / 0.7764 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7714, allocations: 2.938 kB / 0.7764 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7714, allocations: 0 / 0.7764 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7714, allocations: 1.531 kB / 0.7764 GB, free: 1.34 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.004076/0.7755, allocations: 1.927 MB / 0.7783 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.7755, allocations: 9.094 kB / 0.7783 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.7757, allocations: 139.5 kB / 0.7784 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003939/0.7796, allocations: 0.7038 MB / 0.7791 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.7808, allocations: 0.8866 MB / 0.78 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.7808, allocations: 67.34 kB / 0.78 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.781, allocations: 90.75 kB / 0.7801 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.7837, allocations: 1.468 MB / 0.7815 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.7837, allocations: 7.844 kB / 0.7815 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.7838, allocations: 39.36 kB / 0.7816 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.7839, allocations: 51.91 kB / 0.7816 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.7875, allocations: 1.559 MB / 0.7832 GB, free: 15.68 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.005402/0.7929, allocations: 5.038 MB / 0.7881 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.7958, allocations: 1.192 MB / 0.7892 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.7973, allocations: 0.6595 MB / 0.7899 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.7985, allocations: 0.9411 MB / 0.7908 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.8001, allocations: 0.7288 MB / 0.7915 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.916e-06/0.8001, allocations: 0.75 kB / 0.7915 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005307/0.8055, allocations: 1.953 MB / 0.7934 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.8055, allocations: 64.23 kB / 0.7935 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.8067, allocations: 1.264 MB / 0.7947 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/0.8068, allocations: 43.89 kB / 0.7948 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.8071, allocations: 0.5731 MB / 0.7953 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.8074, allocations: 280 kB / 0.7956 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.8076, allocations: 186 kB / 0.7958 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8077, allocations: 339.8 kB / 0.7961 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.8092, allocations: 0.5546 MB / 0.7966 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.8108, allocations: 0.8195 MB / 0.7974 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.8138, allocations: 1.34 MB / 0.7987 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.8138, allocations: 2.531 kB / 0.7987 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003518/0.8174, allocations: 1.512 MB / 0.8002 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8174, allocations: 7.219 kB / 0.8002 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8174, allocations: 8.438 kB / 0.8002 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.8174, allocations: 17.12 kB / 0.8003 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.8187, allocations: 298.7 kB / 0.8005 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.8188, allocations: 14.06 kB / 0.8005 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.82, allocations: 205.9 kB / 0.8007 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.8201, allocations: 50.42 kB / 0.8008 GB, free: 10.27 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.0004882/0.8206, allocations: 332.1 kB / 0.8011 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.8208, allocations: 136.2 kB / 0.8012 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.8244, allocations: 1.45 MB / 0.8027 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.8245, allocations: 16.3 kB / 0.8027 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8245, allocations: 0 / 0.8027 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.8245, allocations: 4.406 kB / 0.8027 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.8299, allocations: 2.863 MB / 0.8055 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.83, allocations: 5.344 kB / 0.8055 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.8312, allocations: 224.7 kB / 0.8057 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.128e-05/0.8312, allocations: 12.09 kB / 0.8057 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-05/0.8313, allocations: 29.56 kB / 0.8057 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.8313, allocations: 11.47 kB / 0.8057 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8313, allocations: 11.84 kB / 0.8058 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.8366, allocations: 2.302 MB / 0.808 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.8371, allocations: 301.7 kB / 0.8083 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.8374, allocations: 24.3 kB / 0.8083 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.8386, allocations: 116.7 kB / 0.8084 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.8387, allocations: 59.36 kB / 0.8085 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/0.8388, allocations: 45.97 kB / 0.8085 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001103/0.8399, allocations: 0.8736 MB / 0.8094 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.21e-07/0.8399, allocations: 0 / 0.8094 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009867/0.8409, allocations: 320.1 kB / 0.8097 GB, free: 7.969 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.006378/0.8473, allocations: 3.273 MB / 0.8129 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003672/0.851, allocations: 1.434 MB / 0.8143 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.851, allocations: 0 / 0.8143 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8526, allocations: 0.6602 MB / 0.8149 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.8553, allocations: 0.6301 MB / 0.8155 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.8743, allocations: 11.96 MB / 0.8272 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.875, allocations: 1.175 MB / 0.8284 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001463/0.8765, allocations: 346.2 kB / 0.8287 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/0.8772, allocations: 499.2 kB / 0.8292 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.8772, allocations: 3.938 kB / 0.8292 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9054/1.783, allocations: 34.63 MB / 0.863 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.929/10.71, allocations: 6.656 kB / 0.863 GB, free: 7.617 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)