Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7256/0.7256, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001727/0.001727, allocations: 188 kB / 173.7 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000942/0.000942, allocations: 100.2 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 11 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 76.79 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.084/5.226, allocations: 2.144 GB / 2.779 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/5.226, allocations: 93.94 kB / 2.779 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.26/7.486, allocations: 0.6792 GB / 3.458 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.074e-06/7.486, allocations: 4 kB / 3.458 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002254/7.487, allocations: 47.92 kB / 3.458 GB, free: 1.938 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.4923/7.979, allocations: 1.94 MB / 3.46 GB, free: 109 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.241e-05/7.979, allocations: 9.656 kB / 3.46 GB, free: 109 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008749/7.98, allocations: 141.3 kB / 3.46 GB, free: 109 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006079/7.986, allocations: 0.8826 MB / 3.461 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/7.99, allocations: 1.119 MB / 3.462 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/7.99, allocations: 70.91 kB / 3.462 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/7.99, allocations: 99.22 kB / 3.462 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/7.995, allocations: 1.536 MB / 3.464 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/7.995, allocations: 1.781 kB / 3.464 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/7.995, allocations: 37.36 kB / 3.464 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/7.995, allocations: 50.97 kB / 3.464 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005494/8.001, allocations: 1.812 MB / 3.466 GB, free: 108.5 MB / 0.6667 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.009048/8.01, allocations: 4.788 MB / 3.47 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/8.014, allocations: 1.632 MB / 3.472 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/8.015, allocations: 0.9428 MB / 3.473 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002423/8.018, allocations: 0.8949 MB / 3.474 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=94): time 6.052e-06/8.018, allocations: 0 / 3.474 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.007921/8.026, allocations: 2.429 MB / 3.476 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/8.026, allocations: 62.41 kB / 3.476 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/8.027, allocations: 1.062 MB / 3.477 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/8.027, allocations: 47.98 kB / 3.477 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/8.028, allocations: 0.5658 MB / 3.478 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/8.028, allocations: 316.6 kB / 3.478 GB, free: 105 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/8.028, allocations: 16.59 kB / 3.478 GB, free: 105 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/8.028, allocations: 342.7 kB / 3.479 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/8.03, allocations: 0.6886 MB / 3.479 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/8.032, allocations: 0.9488 MB / 3.48 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/8.034, allocations: 0.7313 MB / 3.481 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/8.034, allocations: 3.906 kB / 3.481 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00478/8.039, allocations: 1.768 MB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/8.039, allocations: 10.8 kB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/8.039, allocations: 3.125 kB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/8.039, allocations: 11.7 kB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/8.041, allocations: 336.4 kB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/8.041, allocations: 11.64 kB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/8.043, allocations: 257.7 kB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/8.043, allocations: 49.31 kB / 3.483 GB, free: 104.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 120 * 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.0008511/8.044, allocations: 342.1 kB / 3.484 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/8.044, allocations: 136.4 kB / 3.484 GB, free: 104.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/8.049, allocations: 1.842 MB / 3.486 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/8.05, allocations: 9.469 kB / 3.486 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/8.05, allocations: 4.406 kB / 3.486 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/8.05, allocations: 6.391 kB / 3.486 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/8.059, allocations: 3.377 MB / 3.489 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/8.059, allocations: 3.406 kB / 3.489 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/8.06, allocations: 297.8 kB / 3.489 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/8.06, allocations: 11.09 kB / 3.489 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/8.061, allocations: 35.58 kB / 3.489 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/8.061, allocations: 7.625 kB / 3.489 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/8.061, allocations: 3.344 kB / 3.489 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007682/8.068, allocations: 3.057 MB / 3.492 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/8.069, allocations: 239.9 kB / 3.492 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/8.069, allocations: 24 kB / 3.492 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/8.071, allocations: 179.4 kB / 3.493 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/8.071, allocations: 80.22 kB / 3.493 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/8.071, allocations: 38.09 kB / 3.493 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001107/8.072, allocations: 0.8351 MB / 3.494 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.51e-07/8.072, allocations: 0 / 3.494 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001909/8.074, allocations: 0.5121 MB / 3.494 GB, free: 102.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (100): * Single equations (assignments): 94 * 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.01023/8.084, allocations: 6.569 MB / 3.5 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004537/8.089, allocations: 1.61 MB / 3.502 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/8.089, allocations: 3.5 kB / 3.502 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/8.091, allocations: 0.8316 MB / 3.503 GB, free: 100 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/8.094, allocations: 0.5966 MB / 3.503 GB, free: 100 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/8.113, allocations: 12.08 MB / 3.515 GB, free: 94.67 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/8.114, allocations: 1.217 MB / 3.516 GB, free: 93.96 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001963/8.116, allocations: 363.7 kB / 3.517 GB, free: 93.95 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009989/8.117, allocations: 0.5049 MB / 3.517 GB, free: 93.95 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/8.117, allocations: 3.969 kB / 3.517 GB, free: 93.95 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/8.217, allocations: 60.75 MB / 3.577 GB, free: 91.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/8.217, allocations: 237.4 kB / 3.577 GB, free: 91.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.118/12.34, allocations: 0 / 3.577 GB, free: 91.43 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)