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.00124/0.00124, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001278/0.001278, allocations: 189.4 kB / 16.9 MB, free: 6.195 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.27/1.27, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6719/0.6719, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2803, allocations: 76.17 MB / 0.556 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002197/0.2825, allocations: 1.324 MB / 0.5573 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.2854, allocations: 3.217 MB / 0.5604 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.2854, allocations: 2.438 kB / 0.5604 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.2855, allocations: 4.734 kB / 0.5604 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.2855, allocations: 1.906 kB / 0.5604 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.286, allocations: 95.59 kB / 0.5605 GB, free: 33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.2861, allocations: 41.69 kB / 0.5606 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.2861, allocations: 4.125 kB / 0.5606 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.2862, allocations: 16.62 kB / 0.5606 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.2862, allocations: 21.77 kB / 0.5606 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.2862, allocations: 2.719 kB / 0.5606 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.2864, allocations: 79.11 kB / 0.5607 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.2865, allocations: 10.97 kB / 0.5607 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.2865, allocations: 13.23 kB / 0.5607 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2867, allocations: 76.31 kB / 0.5608 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2867, allocations: 1.281 kB / 0.5608 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2867, allocations: 1.344 kB / 0.5608 GB, free: 32.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2867, allocations: 0 / 0.5608 GB, free: 32.89 MB / 446.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.0002984/0.287, allocations: 349.6 kB / 0.5611 GB, free: 32.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2871, allocations: 9.125 kB / 0.5611 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.2871, allocations: 38.03 kB / 0.5612 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.2872, allocations: 9.719 kB / 0.5612 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.051e-05/0.2873, allocations: 162.3 kB / 0.5613 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2873, allocations: 1.594 kB / 0.5613 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.2873, allocations: 8.969 kB / 0.5613 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2874, allocations: 55.17 kB / 0.5614 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2874, allocations: 0 / 0.5614 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2874, allocations: 5.438 kB / 0.5614 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2875, allocations: 4.016 kB / 0.5614 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.2875, allocations: 25.08 kB / 0.5614 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.2877, allocations: 161.7 kB / 0.5616 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/0.2878, allocations: 52.28 kB / 0.5616 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.2878, allocations: 13.09 kB / 0.5616 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005226/0.2883, allocations: 0.6048 MB / 0.5622 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2883, allocations: 41.25 kB / 0.5623 GB, free: 31.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2883, allocations: 0 / 0.5623 GB, free: 31.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004612/0.2888, allocations: 294.3 kB / 0.5626 GB, free: 31.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.2888, allocations: 52.75 kB / 0.5626 GB, free: 30.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.2889, allocations: 104 kB / 0.5627 GB, free: 30.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.2889, allocations: 31.7 kB / 0.5627 GB, free: 30.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.2889, allocations: 88.33 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.289, allocations: 32.58 kB / 0.5629 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.289, allocations: 26.72 kB / 0.5629 GB, free: 30.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.289, allocations: 314.9 kB / 0.5632 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.2891, allocations: 14.81 kB / 0.5632 GB, free: 30.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.2891, allocations: 49.67 kB / 0.5632 GB, free: 30.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.2892, allocations: 77.17 kB / 0.5633 GB, free: 30.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2892, allocations: 1.469 kB / 0.5633 GB, free: 30.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001217/0.2893, allocations: 95.05 kB / 0.5634 GB, free: 30.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2894, allocations: 5.938 kB / 0.5634 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2894, allocations: 1.891 kB / 0.5634 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2894, allocations: 3.094 kB / 0.5634 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.2895, allocations: 18.75 kB / 0.5634 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2895, allocations: 4.656 kB / 0.5634 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.2895, allocations: 9.531 kB / 0.5634 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2895, allocations: 8.453 kB / 0.5635 GB, free: 30.19 MB / 446.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 4.858e-05/0.2896, allocations: 116.1 kB / 0.5636 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.2896, allocations: 6.094 kB / 0.5636 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.2896, allocations: 10.95 kB / 0.5636 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2896, allocations: 2.094 kB / 0.5636 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2897, allocations: 0 / 0.5636 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2897, allocations: 9.688 kB / 0.5636 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2899, allocations: 170.3 kB / 0.5638 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2899, allocations: 0 / 0.5638 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.2899, allocations: 17.03 kB / 0.5638 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.29, allocations: 0 / 0.5638 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.29, allocations: 6.906 kB / 0.5638 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.29, allocations: 0 / 0.5638 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.29, allocations: 3.938 kB / 0.5638 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.2901, allocations: 182 kB / 0.564 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.2902, allocations: 94.83 kB / 0.564 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2902, allocations: 0.6875 kB / 0.564 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2903, allocations: 5.234 kB / 0.5641 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.2903, allocations: 7.922 kB / 0.5641 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2903, allocations: 6.125 kB / 0.5641 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.886e-05/0.2903, allocations: 79.59 kB / 0.5641 GB, free: 29.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2903, allocations: 0 / 0.5641 GB, free: 29.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.2906, allocations: 17.34 kB / 0.5642 GB, free: 29.51 MB / 446.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.0002616/0.2908, allocations: 0.7066 MB / 0.5648 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.291, allocations: 44.89 kB / 0.5649 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.291, allocations: 0 / 0.5649 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.291, allocations: 23.09 kB / 0.5649 GB, free: 28.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2913, allocations: 7.781 kB / 0.5649 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2924, allocations: 1.545 MB / 0.5664 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.2925, allocations: 0.6844 MB / 0.5671 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.2925, allocations: 11.47 kB / 0.5671 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.2926, allocations: 12.58 kB / 0.5671 GB, free: 26.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2926, allocations: 0 / 0.5671 GB, free: 26.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/1.318, allocations: 1.542 MB / 0.5686 GB, free: 26.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/1.318, allocations: 188.8 kB / 0.5688 GB, free: 26.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/3.559, allocations: 0 / 0.5688 GB, free: 26.17 MB / 446.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)