Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",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.7331/0.7331, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001179/0.001179, allocations: 180.2 kB / 173.7 MB, free: 6.129 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.776/1.776, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009368/0.0009366, allocations: 90.86 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 10.78 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1741, allocations: 76.78 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.392, allocations: 390.1 MB / 1.016 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.392, allocations: 98 kB / 1.016 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.762/6.154, allocations: 1.324 GB / 2.341 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.916e-06/6.154, allocations: 1.969 kB / 2.341 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006914/6.155, allocations: 98.95 kB / 2.341 GB, free: 103.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.01633/6.171, allocations: 4.026 MB / 2.345 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/6.171, allocations: 8.656 kB / 2.345 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0012/6.172, allocations: 231.1 kB / 2.345 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/6.176, allocations: 0.5729 MB / 2.345 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/6.19, allocations: 4.522 MB / 2.35 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/6.19, allocations: 140.4 kB / 2.35 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/6.191, allocations: 183.2 kB / 2.35 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008692/6.2, allocations: 2.844 MB / 2.353 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/6.2, allocations: 9.531 kB / 2.353 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/6.2, allocations: 66.41 kB / 2.353 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/6.2, allocations: 38.19 kB / 2.353 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007879/6.208, allocations: 2.386 MB / 2.355 GB, free: 100.9 MB / 0.6823 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.01429/6.222, allocations: 11.54 MB / 2.367 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006622/6.229, allocations: 1.866 MB / 2.369 GB, free: 94.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006095/6.235, allocations: 3.307 MB / 2.372 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005706/6.241, allocations: 1.392 MB / 2.373 GB, free: 92.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002764/6.243, allocations: 0.6111 MB / 2.374 GB, free: 92.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 4.409e-06/6.243, allocations: 0 / 2.374 GB, free: 92.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.02929/6.273, allocations: 5.717 MB / 2.379 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/6.273, allocations: 115.6 kB / 2.379 GB, free: 92.17 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/6.277, allocations: 2.463 MB / 2.382 GB, free: 91.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004246/6.277, allocations: 58.64 kB / 2.382 GB, free: 91.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/6.278, allocations: 1.453 MB / 2.383 GB, free: 91.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/6.279, allocations: 339.6 kB / 2.384 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/6.279, allocations: 30.38 kB / 2.384 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001036/6.279, allocations: 359 kB / 2.384 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/6.281, allocations: 0.7594 MB / 2.385 GB, free: 90.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/6.283, allocations: 1.542 MB / 2.386 GB, free: 90 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/6.285, allocations: 0.9548 MB / 2.387 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/6.285, allocations: 3.406 kB / 2.387 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01689/6.302, allocations: 3.826 MB / 2.391 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001415/6.303, allocations: 6.113 MB / 2.397 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/6.303, allocations: 17.56 kB / 2.397 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/6.306, allocations: 0.9293 MB / 2.398 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/6.307, allocations: 273.8 kB / 2.398 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/6.313, allocations: 2.806 MB / 2.401 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003849/6.317, allocations: 232.9 kB / 2.401 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/6.317, allocations: 86.97 kB / 2.401 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/6.317, allocations: 3.75 kB / 2.401 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00351/6.321, allocations: 2.203 MB / 2.403 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/6.321, allocations: 18.14 kB / 2.403 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008015/6.322, allocations: 473.1 kB / 2.404 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/6.323, allocations: 263.1 kB / 2.404 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005779/6.328, allocations: 5.942 MB / 2.41 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/6.331, allocations: 175.7 kB / 2.41 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/6.331, allocations: 72.83 kB / 2.41 GB, free: 78.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001973/6.333, allocations: 0.8192 MB / 2.411 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006534/6.334, allocations: 291.4 kB / 2.411 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/6.35, allocations: 3.562 MB / 2.415 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-05/6.35, allocations: 11.38 kB / 2.415 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/6.35, allocations: 7.047 kB / 2.415 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01518/6.366, allocations: 3.237 MB / 2.418 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/6.387, allocations: 5.549 MB / 2.423 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/6.387, allocations: 0 / 2.423 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/6.388, allocations: 123.3 kB / 2.423 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/6.39, allocations: 0.8964 MB / 2.424 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/6.39, allocations: 41.17 kB / 2.424 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03518/6.426, allocations: 11.66 MB / 2.436 GB, free: 71.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/6.426, allocations: 0 / 2.436 GB, free: 71.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/6.444, allocations: 4.468 MB / 2.44 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/6.447, allocations: 0.5041 MB / 2.44 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005214/6.447, allocations: 19.12 kB / 2.44 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/6.449, allocations: 188.9 kB / 2.441 GB, free: 69.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/6.45, allocations: 100.1 kB / 2.441 GB, free: 69.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/6.45, allocations: 50.28 kB / 2.441 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002907/6.453, allocations: 1.937 MB / 2.443 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.453, allocations: 0 / 2.443 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006542/6.459, allocations: 1.568 MB / 2.444 GB, free: 68.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.02092/6.48, allocations: 6.017 MB / 2.45 GB, free: 63.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008457/6.489, allocations: 3.434 MB / 2.453 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/6.489, allocations: 0 / 2.453 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003944/6.493, allocations: 1.474 MB / 2.455 GB, free: 59.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006227/6.499, allocations: 1.18 MB / 2.456 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/6.52, allocations: 18.76 MB / 2.474 GB, free: 39.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/6.521, allocations: 2.096 MB / 2.476 GB, free: 37.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003145/6.524, allocations: 0.6444 MB / 2.477 GB, free: 37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/6.526, allocations: 1.179 MB / 2.478 GB, free: 35.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.084e-06/6.526, allocations: 0 / 2.478 GB, free: 35.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6025/7.128, allocations: 97.35 MB / 2.573 GB, free: 99.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/7.128, allocations: 253.1 kB / 2.573 GB, free: 98.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.624/12.75, allocations: 4 kB / 2.573 GB, free: 98.82 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)