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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4829/0.4829, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.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: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009192/0.0009192, allocations: 99.5 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.305e-05, allocations: 4 kB / 0.4897 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3615, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.393/4.754, allocations: 1.827 GB / 2.388 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/4.755, allocations: 87.95 kB / 2.388 GB, free: 200.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.503/8.257, allocations: 1.018 GB / 3.406 GB, free: 98.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.072e-06/8.257, allocations: 0 / 3.406 GB, free: 98.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.901e-05/8.257, allocations: 36.38 kB / 3.406 GB, free: 98.72 MB / 0.6198 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.006241/8.264, allocations: 1.834 MB / 3.407 GB, free: 97.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/8.264, allocations: 23.83 kB / 3.407 GB, free: 97.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/8.264, allocations: 136.6 kB / 3.408 GB, free: 97.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/8.268, allocations: 0.691 MB / 3.408 GB, free: 97.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/8.271, allocations: 1.045 MB / 3.409 GB, free: 97.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/8.271, allocations: 67.36 kB / 3.409 GB, free: 97.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/8.271, allocations: 88.86 kB / 3.409 GB, free: 97.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/8.273, allocations: 1.246 MB / 3.411 GB, free: 97.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/8.273, allocations: 3.938 kB / 3.411 GB, free: 97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/8.273, allocations: 33.28 kB / 3.411 GB, free: 97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/8.273, allocations: 41.8 kB / 3.411 GB, free: 97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/8.275, allocations: 1.027 MB / 3.412 GB, free: 96.89 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.006632/8.281, allocations: 5.311 MB / 3.417 GB, free: 92.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/8.283, allocations: 0.9215 MB / 3.418 GB, free: 92.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/8.283, allocations: 0.4897 MB / 3.418 GB, free: 91.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/8.285, allocations: 0.9474 MB / 3.419 GB, free: 90.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008861/8.285, allocations: 0.6063 MB / 3.42 GB, free: 90.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.246e-06/8.286, allocations: 0 / 3.42 GB, free: 90.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.002456/8.288, allocations: 1.151 MB / 3.421 GB, free: 88.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/8.288, allocations: 60.19 kB / 3.421 GB, free: 88.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/8.289, allocations: 1.11 MB / 3.422 GB, free: 87.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.559e-05/8.289, allocations: 52.25 kB / 3.422 GB, free: 87.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/8.29, allocations: 0.5717 MB / 3.423 GB, free: 87.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/8.29, allocations: 276.4 kB / 3.423 GB, free: 86.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/8.29, allocations: 16 kB / 3.423 GB, free: 86.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/8.29, allocations: 341.9 kB / 3.423 GB, free: 86.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/8.291, allocations: 428 kB / 3.424 GB, free: 86.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/8.291, allocations: 0.7117 MB / 3.424 GB, free: 85.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/8.292, allocations: 469 kB / 3.425 GB, free: 84.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/8.292, allocations: 4 kB / 3.425 GB, free: 84.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001751/8.294, allocations: 1.247 MB / 3.426 GB, free: 83.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/8.294, allocations: 11.95 kB / 3.426 GB, free: 83.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/8.294, allocations: 8 kB / 3.426 GB, free: 83.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/8.294, allocations: 12 kB / 3.426 GB, free: 83.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/8.295, allocations: 318.7 kB / 3.426 GB, free: 83.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/8.295, allocations: 19.92 kB / 3.426 GB, free: 83.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/8.297, allocations: 226.3 kB / 3.427 GB, free: 83.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/8.297, allocations: 59.95 kB / 3.427 GB, free: 82.97 MB / 0.6198 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002076/8.297, allocations: 178.9 kB / 3.427 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/8.297, allocations: 138 kB / 3.427 GB, free: 82.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/8.299, allocations: 1.252 MB / 3.428 GB, free: 81.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/8.299, allocations: 15.98 kB / 3.428 GB, free: 81.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/8.299, allocations: 0 / 3.428 GB, free: 81.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/8.299, allocations: 7.922 kB / 3.428 GB, free: 81.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/8.303, allocations: 2.744 MB / 3.431 GB, free: 78.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/8.303, allocations: 11.78 kB / 3.431 GB, free: 78.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/8.304, allocations: 253.7 kB / 3.431 GB, free: 78.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/8.305, allocations: 8 kB / 3.431 GB, free: 78.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/8.305, allocations: 31.95 kB / 3.431 GB, free: 78.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/8.305, allocations: 11.94 kB / 3.431 GB, free: 78.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/8.305, allocations: 7.625 kB / 3.431 GB, free: 78.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/8.307, allocations: 2.206 MB / 3.433 GB, free: 75.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/8.308, allocations: 359.1 kB / 3.434 GB, free: 75.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/8.308, allocations: 23.98 kB / 3.434 GB, free: 75.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/8.309, allocations: 144.7 kB / 3.434 GB, free: 75.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/8.309, allocations: 66.02 kB / 3.434 GB, free: 75.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/8.309, allocations: 39.97 kB / 3.434 GB, free: 75.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008907/8.31, allocations: 0.8586 MB / 3.435 GB, free: 74.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.6e-07/8.31, allocations: 3.312 kB / 3.435 GB, free: 74.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001591/8.312, allocations: 0.4997 MB / 3.435 GB, free: 73.94 MB / 0.6198 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005601/8.317, allocations: 5.692 MB / 3.441 GB, free: 68.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001568/8.319, allocations: 1.052 MB / 3.442 GB, free: 67.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/8.319, allocations: 3.938 kB / 3.442 GB, free: 67.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007135/8.32, allocations: 0.5398 MB / 3.442 GB, free: 66.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/8.322, allocations: 0.5803 MB / 3.443 GB, free: 66.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/8.326, allocations: 2.353 MB / 3.445 GB, free: 63.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/8.327, allocations: 1.208 MB / 3.447 GB, free: 62.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001411/8.328, allocations: 384.1 kB / 3.447 GB, free: 62.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/8.329, allocations: 0.5109 MB / 3.447 GB, free: 61.87 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/8.329, allocations: 0 / 3.447 GB, free: 61.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0853/8.414, allocations: 64.47 MB / 3.51 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/8.414, allocations: 197.9 kB / 3.511 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/12.44, allocations: 0 / 3.511 GB, free: 13.8 MB / 0.6355 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/linux/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)