Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.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.Media.Examples.WaterTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation",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.8166/0.8166, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.00134/0.001341, allocations: 184.7 kB / 169.7 MB, free: 1.73 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.859/1.859, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.0009679/0.0009682, allocations: 90.22 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.274e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1839, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.417, allocations: 323.4 MB / 0.9441 GB, free: 210.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/1.417, allocations: 67.97 kB / 0.9441 GB, free: 210.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1765/1.594, allocations: 100.2 MB / 1.042 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.635e-06/1.594, allocations: 0 / 1.042 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.474e-05/1.594, allocations: 7.984 kB / 1.042 GB, free: 109.3 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008266/1.595, allocations: 0.5082 MB / 1.043 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.595, allocations: 15.97 kB / 1.043 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.449e-05/1.595, allocations: 58.55 kB / 1.043 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/1.595, allocations: 47.56 kB / 1.043 GB, free: 108.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/1.596, allocations: 258.5 kB / 1.043 GB, free: 108.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/1.596, allocations: 20.56 kB / 1.043 GB, free: 108.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/1.596, allocations: 24 kB / 1.043 GB, free: 108.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/1.596, allocations: 303.9 kB / 1.043 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.596, allocations: 0 / 1.043 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/1.596, allocations: 12 kB / 1.043 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/1.596, allocations: 8 kB / 1.043 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/1.596, allocations: 165.5 kB / 1.043 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/1.598, allocations: 1.845 MB / 1.045 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/1.598, allocations: 110.5 kB / 1.045 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/1.598, allocations: 52.84 kB / 1.045 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/1.598, allocations: 4.078 kB / 1.045 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.598, allocations: 46.5 kB / 1.045 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/1.598, allocations: 0 / 1.045 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001112/1.6, allocations: 0.523 MB / 1.046 GB, free: 105 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/1.6, allocations: 51.41 kB / 1.046 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/1.6, allocations: 247 kB / 1.046 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/1.6, allocations: 29.7 kB / 1.046 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/1.6, allocations: 199.6 kB / 1.046 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/1.6, allocations: 59.19 kB / 1.046 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/1.6, allocations: 4 kB / 1.046 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/1.6, allocations: 334.8 kB / 1.047 GB, free: 104 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/1.6, allocations: 52 kB / 1.047 GB, free: 104 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/1.6, allocations: 160.9 kB / 1.047 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/1.601, allocations: 78.03 kB / 1.047 GB, free: 103.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.601, allocations: 7.938 kB / 1.047 GB, free: 103.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004152/1.601, allocations: 287.4 kB / 1.047 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.601, allocations: 8 kB / 1.047 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.601, allocations: 4.438 kB / 1.047 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/1.601, allocations: 24.86 kB / 1.047 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/1.601, allocations: 63.91 kB / 1.047 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007852/1.602, allocations: 1.288 MB / 1.049 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.602, allocations: 15.94 kB / 1.049 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/1.602, allocations: 12 kB / 1.049 GB, free: 101.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/1.603, allocations: 124.8 kB / 1.049 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/1.603, allocations: 27.62 kB / 1.049 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/1.603, allocations: 30.05 kB / 1.049 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.603, allocations: 4 kB / 1.049 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.603, allocations: 0 / 1.049 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002678/1.603, allocations: 459.7 kB / 1.049 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/1.604, allocations: 0.5726 MB / 1.05 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.604, allocations: 8.156 kB / 1.05 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/1.604, allocations: 43.84 kB / 1.05 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.604, allocations: 0 / 1.05 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.604, allocations: 4 kB / 1.05 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/1.604, allocations: 4 kB / 1.05 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.604, allocations: 0 / 1.05 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/1.604, allocations: 390.8 kB / 1.05 GB, free: 99.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/1.604, allocations: 96.83 kB / 1.05 GB, free: 99.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/1.604, allocations: 8.062 kB / 1.05 GB, free: 99.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.605, allocations: 15.98 kB / 1.05 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/1.605, allocations: 19.92 kB / 1.05 GB, free: 99.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/1.605, allocations: 11.94 kB / 1.05 GB, free: 99.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001736/1.605, allocations: 195.1 kB / 1.051 GB, free: 99.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.3e-07/1.605, allocations: 3.938 kB / 1.051 GB, free: 99.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004346/1.605, allocations: 80 kB / 1.051 GB, free: 99.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0007536/1.606, allocations: 1.359 MB / 1.052 GB, free: 98.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003856/1.606, allocations: 263.1 kB / 1.052 GB, free: 97.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.606, allocations: 4 kB / 1.052 GB, free: 97.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/1.606, allocations: 51.88 kB / 1.052 GB, free: 97.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/1.607, allocations: 149.4 kB / 1.053 GB, free: 97.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/1.608, allocations: 453.4 kB / 1.053 GB, free: 97.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.608, allocations: 0.7602 MB / 1.054 GB, free: 96.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002486/1.609, allocations: 50.94 kB / 1.054 GB, free: 96.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.609, allocations: 87.41 kB / 1.054 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of SimCode: time 3.3e-07/1.609, allocations: 0 / 1.054 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/1.639, allocations: 9.004 MB / 1.063 GB, free: 87.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/1.639, allocations: 186.2 kB / 1.063 GB, free: 87.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/3.846, allocations: 0 / 1.063 GB, free: 87.11 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)