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.7275/0.7275, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 175.8 kB / 169.7 MB, free: 1.754 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.773/1.773, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0008488/0.0008485, allocations: 88.75 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.987e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 76.76 MB / 0.6282 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/5.884, allocations: 2.144 GB / 2.772 GB, free: 184.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/5.884, allocations: 90.7 kB / 2.772 GB, free: 184.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.362/8.246, allocations: 0.6785 GB / 3.45 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.122e-06/8.246, allocations: 0 / 3.45 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001184/8.246, allocations: 43.92 kB / 3.45 GB, free: 6.352 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.006123/8.252, allocations: 1.754 MB / 3.452 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/8.252, allocations: 8.031 kB / 3.452 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/8.253, allocations: 139.6 kB / 3.452 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/8.258, allocations: 0.88 MB / 3.453 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/8.261, allocations: 1.121 MB / 3.454 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/8.261, allocations: 66 kB / 3.454 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/8.261, allocations: 96 kB / 3.454 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/8.264, allocations: 1.271 MB / 3.456 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/8.264, allocations: 0 / 3.456 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/8.264, allocations: 32 kB / 3.456 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.748e-05/8.264, allocations: 49.98 kB / 3.456 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5064/8.77, allocations: 1.271 MB / 3.457 GB, free: 109.7 MB / 0.6667 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.01005/8.78, allocations: 4.788 MB / 3.462 GB, free: 108 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/8.783, allocations: 1.102 MB / 3.463 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009588/8.784, allocations: 0.5747 MB / 3.463 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/8.785, allocations: 0.9487 MB / 3.464 GB, free: 107 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/8.786, allocations: 0.636 MB / 3.465 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=94): time 4.338e-06/8.786, allocations: 2.25 kB / 3.465 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.003092/8.789, allocations: 1.21 MB / 3.466 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/8.789, allocations: 62.66 kB / 3.466 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/8.79, allocations: 1.058 MB / 3.467 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/8.791, allocations: 49.58 kB / 3.467 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/8.791, allocations: 0.5528 MB / 3.468 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/8.791, allocations: 322 kB / 3.468 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/8.791, allocations: 18.59 kB / 3.468 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001009/8.791, allocations: 347.8 kB / 3.468 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/8.792, allocations: 443.3 kB / 3.469 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/8.793, allocations: 0.6912 MB / 3.469 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/8.794, allocations: 489.5 kB / 3.47 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/8.794, allocations: 0 / 3.47 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002089/8.796, allocations: 1.246 MB / 3.471 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/8.796, allocations: 13.14 kB / 3.471 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/8.796, allocations: 3.5 kB / 3.471 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/8.796, allocations: 9.219 kB / 3.471 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/8.798, allocations: 337.8 kB / 3.471 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/8.798, allocations: 13 kB / 3.471 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/8.8, allocations: 263 kB / 3.472 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/8.8, allocations: 50.12 kB / 3.472 GB, free: 105.5 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 () * 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.0002824/8.8, allocations: 169.6 kB / 3.472 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/8.8, allocations: 135.5 kB / 3.472 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/8.803, allocations: 1.323 MB / 3.473 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/8.803, allocations: 10.2 kB / 3.473 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/8.803, allocations: 0 / 3.473 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/8.803, allocations: 7.719 kB / 3.473 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005973/8.809, allocations: 2.862 MB / 3.476 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/8.809, allocations: 3.484 kB / 3.476 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/8.811, allocations: 299 kB / 3.476 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.583e-05/8.811, allocations: 7.781 kB / 3.476 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/8.812, allocations: 30.77 kB / 3.476 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.088e-05/8.812, allocations: 11.16 kB / 3.476 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/8.812, allocations: 5.031 kB / 3.476 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/8.816, allocations: 2.276 MB / 3.479 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/8.817, allocations: 242.8 kB / 3.479 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/8.817, allocations: 30.94 kB / 3.479 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/8.818, allocations: 180.3 kB / 3.479 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/8.819, allocations: 74.7 kB / 3.479 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/8.819, allocations: 40.7 kB / 3.479 GB, free: 104 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00139/8.82, allocations: 0.8217 MB / 3.48 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.31e-07/8.82, allocations: 0 / 3.48 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002179/8.822, allocations: 0.5198 MB / 3.481 GB, free: 103.9 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) * 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.007702/8.83, allocations: 5.736 MB / 3.486 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002449/8.833, allocations: 1.096 MB / 3.487 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/8.833, allocations: 1.5 kB / 3.487 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/8.834, allocations: 0.5764 MB / 3.488 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/8.837, allocations: 0.594 MB / 3.488 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/8.844, allocations: 2.641 MB / 3.491 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008573/8.845, allocations: 1.218 MB / 3.492 GB, free: 99.92 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001948/8.847, allocations: 367.2 kB / 3.492 GB, free: 99.91 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009606/8.848, allocations: 0.5097 MB / 3.493 GB, free: 99.9 MB / 0.6667 GB Notification: Performance of SimCode: time 2.635e-06/8.848, allocations: 2.469 kB / 3.493 GB, free: 99.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/8.958, allocations: 65.11 MB / 3.557 GB, free: 97.92 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/8.958, allocations: 205.2 kB / 3.557 GB, free: 97.69 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.275/13.23, allocations: 0 / 3.557 GB, free: 97.69 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)