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.7834/0.7834, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.00118/0.00118, allocations: 180.4 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 409 MB, free: 10.51 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.001046/0.001046, allocations: 82.44 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 7.594 kB / 0.5604 GB, free: 97.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1832, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7924/0.9756, allocations: 326.6 MB / 0.9544 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.976, allocations: 79.36 kB / 0.9544 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03128/1.007, allocations: 12.75 MB / 0.9669 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.366e-06/1.007, allocations: 0 / 0.9669 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.007, allocations: 0 / 0.9669 GB, free: 4.605 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.0004203/1.008, allocations: 353.2 kB / 0.9672 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.008, allocations: 12.03 kB / 0.9672 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/1.008, allocations: 34 kB / 0.9673 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/1.008, allocations: 12.72 kB / 0.9673 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/1.008, allocations: 167.1 kB / 0.9674 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/1.008, allocations: 3.5 kB / 0.9674 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/1.008, allocations: 7.906 kB / 0.9675 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/1.008, allocations: 56.61 kB / 0.9675 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.008, allocations: 0 / 0.9675 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.008, allocations: 0 / 0.9675 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.008, allocations: 3.953 kB / 0.9675 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/1.008, allocations: 23.23 kB / 0.9675 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/1.009, allocations: 164.5 kB / 0.9677 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/1.009, allocations: 49.73 kB / 0.9677 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008609/1.01, allocations: 0.6045 MB / 0.9683 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.01, allocations: 42.08 kB / 0.9684 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/1.01, allocations: 0 / 0.9684 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006561/1.01, allocations: 292.2 kB / 0.9686 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.01, allocations: 51.41 kB / 0.9687 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/1.01, allocations: 100.5 kB / 0.9688 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/1.011, allocations: 28.95 kB / 0.9688 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/1.011, allocations: 92.05 kB / 0.9689 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/1.011, allocations: 19.28 kB / 0.9689 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.011, allocations: 4 kB / 0.9689 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.011, allocations: 318.3 kB / 0.9692 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/1.011, allocations: 11.75 kB / 0.9692 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/1.011, allocations: 64.14 kB / 0.9693 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/1.011, allocations: 15.69 kB / 0.9693 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.011, allocations: 4 kB / 0.9693 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001409/1.011, allocations: 100.5 kB / 0.9694 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.011, allocations: 4 kB / 0.9694 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.011, allocations: 0 / 0.9694 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.011, allocations: 7.984 kB / 0.9694 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/1.011, allocations: 20.12 kB / 0.9695 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.011, allocations: 7.938 kB / 0.9695 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/1.011, allocations: 3.438 kB / 0.9695 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/1.011, allocations: 4 kB / 0.9695 GB, free: 1.695 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 () * Number of clocked 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 0.0001054/1.011, allocations: 113.6 kB / 0.9696 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/1.011, allocations: 11.94 kB / 0.9696 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/1.011, allocations: 7.781 kB / 0.9696 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.011, allocations: 0 / 0.9696 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.011, allocations: 0 / 0.9696 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.011, allocations: 4 kB / 0.9696 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/1.012, allocations: 177 kB / 0.9698 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.012, allocations: 448 / 0.9698 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/1.012, allocations: 19.94 kB / 0.9698 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.012, allocations: 3.984 kB / 0.9698 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.012, allocations: 7.953 kB / 0.9698 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.012, allocations: 0 / 0.9698 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.012, allocations: 0 / 0.9698 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/1.012, allocations: 166.5 kB / 0.97 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/1.012, allocations: 88.89 kB / 0.97 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/1.012, allocations: 0 / 0.97 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.012, allocations: 11.89 kB / 0.9701 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/1.012, allocations: 7.984 kB / 0.9701 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.012, allocations: 3.5 kB / 0.9701 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.887e-05/1.012, allocations: 79.28 kB / 0.9701 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.765e-06/1.012, allocations: 0 / 0.9701 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002709/1.013, allocations: 23.62 kB / 0.9702 GB, free: 0.9297 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 () * Number of clocked 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.0006337/1.013, allocations: 0.7395 MB / 0.9709 GB, free: 184 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000117/1.013, allocations: 43.09 kB / 0.9709 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.014, allocations: 0 / 0.9709 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/1.014, allocations: 15.94 kB / 0.9709 GB, free: 132 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/1.014, allocations: 15.5 kB / 0.971 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/1.015, allocations: 1.422 MB / 0.9723 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.015, allocations: 0.6887 MB / 0.973 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.531e-05/1.016, allocations: 7.984 kB / 0.973 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/1.016, allocations: 15.31 kB / 0.973 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/1.016, allocations: 7.875 kB / 0.973 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/1.034, allocations: 1.804 MB / 0.9748 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/1.034, allocations: 179.2 kB / 0.975 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.593, allocations: 0.875 kB / 0.975 GB, free: 11.99 MB / 0.6511 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)