Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 102.7 kB / 16.4 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 199.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.798/0.798, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 67.77 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.332, allocations: 76.19 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.004245/0.3363, allocations: 1.247 MB / 0.6328 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006932/0.3433, allocations: 3.257 MB / 0.636 GB, free: 388 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.3434, allocations: 4 kB / 0.636 GB, free: 384 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.3435, allocations: 7.922 kB / 0.636 GB, free: 376 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.3437, allocations: 3.984 kB / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.3445, allocations: 107.5 kB / 0.6361 GB, free: 264 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3446, allocations: 35.86 kB / 0.6361 GB, free: 228 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.3447, allocations: 4 kB / 0.6361 GB, free: 224 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.3448, allocations: 15.97 kB / 0.6361 GB, free: 208 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.3449, allocations: 19.92 kB / 0.6361 GB, free: 188 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3449, allocations: 4 kB / 0.6361 GB, free: 184 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.3453, allocations: 83.73 kB / 0.6362 GB, free: 100 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.3453, allocations: 8 kB / 0.6362 GB, free: 92 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.3454, allocations: 23.91 kB / 0.6363 GB, free: 68 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3457, allocations: 54.69 kB / 0.6363 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.3457, allocations: 4 kB / 0.6363 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.3457, allocations: 0 / 0.6363 GB, free: 12 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3457, allocations: 0 / 0.6363 GB, free: 12 kB / 478.1 MB 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.000744/0.3465, allocations: 352.2 kB / 0.6367 GB, free: 15.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.188e-05/0.3466, allocations: 12.03 kB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.571e-05/0.3467, allocations: 38.75 kB / 0.6367 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3469, allocations: 4.938 kB / 0.6367 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.347, allocations: 160.4 kB / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3471, allocations: 384 / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.3471, allocations: 16.3 kB / 0.6369 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3474, allocations: 57.59 kB / 0.6369 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3474, allocations: 0 / 0.6369 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.3474, allocations: 8 kB / 0.6369 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3474, allocations: 4 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.3475, allocations: 15.97 kB / 0.637 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.3479, allocations: 165.6 kB / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3481, allocations: 62.42 kB / 0.6372 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.3482, allocations: 20.86 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.3495, allocations: 0.5871 MB / 0.6378 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.3496, allocations: 46.48 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.3496, allocations: 0 / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001025/0.3506, allocations: 294.7 kB / 0.6381 GB, free: 13.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.3507, allocations: 51.41 kB / 0.6381 GB, free: 13.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3509, allocations: 97.8 kB / 0.6382 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3509, allocations: 37.7 kB / 0.6383 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.351, allocations: 88.03 kB / 0.6384 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.3511, allocations: 27.56 kB / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.3512, allocations: 29.7 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.3514, allocations: 310.8 kB / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.3515, allocations: 19.92 kB / 0.6387 GB, free: 13.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.154e-05/0.3516, allocations: 53.16 kB / 0.6388 GB, free: 13.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3517, allocations: 73.08 kB / 0.6388 GB, free: 13.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3518, allocations: 4 kB / 0.6388 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002471/0.352, allocations: 97.45 kB / 0.6389 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.3521, allocations: 4 kB / 0.6389 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3521, allocations: 4 kB / 0.6389 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.3521, allocations: 0 / 0.6389 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3523, allocations: 23.92 kB / 0.639 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.3523, allocations: 4 kB / 0.639 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.3524, allocations: 11.88 kB / 0.639 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3524, allocations: 4 kB / 0.639 GB, free: 12.85 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.3526, allocations: 118 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.3527, allocations: 4 kB / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.3527, allocations: 7.969 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3527, allocations: 0 / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3528, allocations: 0 / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.3528, allocations: 7.922 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.3532, allocations: 173.7 kB / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3533, allocations: 4.219 kB / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3534, allocations: 20 kB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3534, allocations: 0 / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3534, allocations: 0 / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3535, allocations: 4 kB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3535, allocations: 0 / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.3538, allocations: 179.4 kB / 0.6395 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.3539, allocations: 81.14 kB / 0.6396 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.354, allocations: 4 kB / 0.6396 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3542, allocations: 4 kB / 0.6396 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3542, allocations: 15.81 kB / 0.6396 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3542, allocations: 0 / 0.6396 GB, free: 12.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.65e-05/0.3543, allocations: 87.27 kB / 0.6397 GB, free: 12.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3543, allocations: 0 / 0.6397 GB, free: 12.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.3548, allocations: 16 kB / 0.6397 GB, free: 12.05 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008811/0.3557, allocations: 0.7007 MB / 0.6404 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.356, allocations: 47.91 kB / 0.6404 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.356, allocations: 0 / 0.6404 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.3561, allocations: 16 kB / 0.6404 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.3567, allocations: 17.94 kB / 0.6404 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.3593, allocations: 1.524 MB / 0.6419 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.3598, allocations: 0.6807 MB / 0.6426 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.619e-05/0.3599, allocations: 15.97 kB / 0.6426 GB, free: 8.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.36, allocations: 19.38 kB / 0.6426 GB, free: 8.863 MB / 494.1 MB Notification: Performance of SimCode: time 9.81e-07/0.36, allocations: 0 / 0.6426 GB, free: 8.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0516/0.4116, allocations: 1.659 MB / 0.6443 GB, free: 7.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.46, allocations: 7.922 kB / 0.6443 GB, free: 7.27 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)