Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",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.85/0.85, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.00134, allocations: 187.7 kB / 169.7 MB, free: 1.734 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.836/1.836, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.0009524/0.0009524, allocations: 90.44 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.12e-05, allocations: 0 / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1669, allocations: 76.77 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.388, allocations: 326.5 MB / 0.9471 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.388, allocations: 77.28 kB / 0.9472 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02456/1.413, allocations: 12.7 MB / 0.9596 GB, free: 174.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.805e-06/1.413, allocations: 3.984 kB / 0.9596 GB, free: 174.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.144e-06/1.413, allocations: 3.969 kB / 0.9596 GB, free: 174.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000269/1.413, allocations: 335.1 kB / 0.9599 GB, free: 174.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.413, allocations: 8.031 kB / 0.9599 GB, free: 174.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/1.413, allocations: 36.69 kB / 0.96 GB, free: 174.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/1.413, allocations: 11.95 kB / 0.96 GB, free: 174.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/1.414, allocations: 167 kB / 0.9601 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/1.414, allocations: 2.188 kB / 0.9601 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/1.414, allocations: 7.094 kB / 0.9602 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/1.414, allocations: 54.3 kB / 0.9602 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/1.414, allocations: 0 / 0.9602 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.414, allocations: 6.625 kB / 0.9602 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.414, allocations: 3.953 kB / 0.9602 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.296e-05/1.414, allocations: 23.28 kB / 0.9602 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/1.414, allocations: 172.1 kB / 0.9604 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/1.414, allocations: 51.88 kB / 0.9604 GB, free: 173.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/1.414, allocations: 19.11 kB / 0.9605 GB, free: 173.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/1.415, allocations: 0.6154 MB / 0.9611 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/1.415, allocations: 38.56 kB / 0.9611 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/1.415, allocations: 3.984 kB / 0.9611 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004711/1.415, allocations: 290 kB / 0.9614 GB, free: 172.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/1.415, allocations: 51.41 kB / 0.9614 GB, free: 172.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.245e-05/1.415, allocations: 92.44 kB / 0.9615 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/1.415, allocations: 29.7 kB / 0.9615 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/1.415, allocations: 95.36 kB / 0.9616 GB, free: 172.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/1.415, allocations: 26.77 kB / 0.9617 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/1.415, allocations: 0 / 0.9617 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/1.415, allocations: 313.9 kB / 0.962 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/1.415, allocations: 10.12 kB / 0.962 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/1.416, allocations: 55.64 kB / 0.962 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/1.416, allocations: 25.23 kB / 0.9621 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.416, allocations: 0 / 0.9621 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001094/1.416, allocations: 100.1 kB / 0.9621 GB, free: 172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.416, allocations: 4 kB / 0.9622 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.416, allocations: 4 kB / 0.9622 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.416, allocations: 4.125 kB / 0.9622 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/1.416, allocations: 19.94 kB / 0.9622 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/1.416, allocations: 4 kB / 0.9622 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/1.416, allocations: 2.312 kB / 0.9622 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/1.416, allocations: 11.92 kB / 0.9622 GB, free: 172 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.354e-05/1.416, allocations: 108 kB / 0.9623 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/1.416, allocations: 7.953 kB / 0.9623 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/1.416, allocations: 7.594 kB / 0.9623 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.416, allocations: 3.938 kB / 0.9623 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.416, allocations: 4 kB / 0.9623 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/1.416, allocations: 0 / 0.9623 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/1.416, allocations: 176.8 kB / 0.9625 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.416, allocations: 0 / 0.9625 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/1.416, allocations: 19.98 kB / 0.9625 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.416, allocations: 0 / 0.9625 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.416, allocations: 7.516 kB / 0.9625 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.416, allocations: 0 / 0.9625 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.416, allocations: 0 / 0.9625 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/1.416, allocations: 167.1 kB / 0.9627 GB, free: 171.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/1.417, allocations: 84.95 kB / 0.9628 GB, free: 171.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/1.417, allocations: 7.938 kB / 0.9628 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/1.417, allocations: 4.203 kB / 0.9628 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/1.417, allocations: 7.984 kB / 0.9628 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/1.417, allocations: 7.812 kB / 0.9628 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.379e-05/1.417, allocations: 83.64 kB / 0.9629 GB, free: 171.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.417, allocations: 0 / 0.9629 GB, free: 171.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002189/1.417, allocations: 15.81 kB / 0.9629 GB, free: 171.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0003298/1.417, allocations: 0.7335 MB / 0.9636 GB, free: 170.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.542e-05/1.417, allocations: 50.8 kB / 0.9636 GB, free: 170.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.417, allocations: 0 / 0.9636 GB, free: 170.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/1.417, allocations: 15.98 kB / 0.9637 GB, free: 170.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/1.418, allocations: 10.11 kB / 0.9637 GB, free: 170.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/1.418, allocations: 316.7 kB / 0.964 GB, free: 170.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/1.418, allocations: 0.6888 MB / 0.9646 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.261e-05/1.418, allocations: 7.984 kB / 0.9646 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/1.418, allocations: 18.12 kB / 0.9647 GB, free: 169.3 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/1.418, allocations: 0 / 0.9647 GB, free: 169.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/1.432, allocations: 1.844 MB / 0.9665 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/1.432, allocations: 155 kB / 0.9666 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/3.001, allocations: 0 / 0.9666 GB, free: 167.4 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)