Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001508/0.001507, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7448 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.16 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3404, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002418/0.3429, allocations: 1.331 MB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.3466, allocations: 3.233 MB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.3467, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.3467, allocations: 11.92 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.3468, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.3473, allocations: 95.59 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.3474, allocations: 35.86 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.3474, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.3475, allocations: 23.92 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.3476, allocations: 19.97 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3476, allocations: 4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.3478, allocations: 75.81 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.3478, allocations: 11.92 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.3479, allocations: 19.92 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.3481, allocations: 56.2 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3481, allocations: 7.938 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3481, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3481, allocations: 3.938 kB / 1.072 GB, free: 5.828 MB / 0.8262 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.0004249/0.3485, allocations: 351.5 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3486, allocations: 8.031 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.3487, allocations: 8.844 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3488, allocations: 164.3 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3488, allocations: 4.375 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.3489, allocations: 16.3 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.349, allocations: 53.8 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.349, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.349, allocations: 4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3491, allocations: 4 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.3491, allocations: 19.92 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.3493, allocations: 165.7 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.3494, allocations: 54.53 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.3494, allocations: 16.86 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.3501, allocations: 0.5907 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3502, allocations: 38.55 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 4.719e-06/0.3502, allocations: 3.984 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005742/0.3508, allocations: 306.5 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.3508, allocations: 51.41 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.3509, allocations: 93.86 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3509, allocations: 33.7 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.351, allocations: 92.03 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.351, allocations: 23.56 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3511, allocations: 29.7 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3512, allocations: 322.7 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.3512, allocations: 15.98 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.3513, allocations: 53.59 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.3514, allocations: 73.02 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3514, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001444/0.3515, allocations: 97.55 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3515, allocations: 8 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3516, allocations: 0 / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3516, allocations: 4 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.3517, allocations: 19.98 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3517, allocations: 0 / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.3517, allocations: 11.94 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3517, allocations: 4 kB / 1.075 GB, free: 2.719 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.3518, allocations: 122.6 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3518, allocations: 3.906 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.3519, allocations: 7.969 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3519, allocations: 4 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3519, allocations: 0 / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.3519, allocations: 7.922 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.3522, allocations: 169.7 kB / 1.075 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3522, allocations: 0 / 1.075 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.3523, allocations: 16 kB / 1.075 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3523, allocations: 3.938 kB / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3523, allocations: 4 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3523, allocations: 4 kB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3523, allocations: 0 / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3525, allocations: 175.4 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.3526, allocations: 89.05 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3526, allocations: 0 / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3527, allocations: 8 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.3527, allocations: 4.312 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3527, allocations: 11.94 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.3528, allocations: 87.25 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3528, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002419/0.353, allocations: 12 kB / 1.076 GB, free: 1.91 MB / 0.8262 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 (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.0001458/0.3532, allocations: 95.25 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3533, allocations: 51.86 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3533, allocations: 4.25 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.3533, allocations: 19.98 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3537, allocations: 4.219 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.3543, allocations: 334.3 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3546, allocations: 0.6846 MB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.3546, allocations: 15.77 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.3547, allocations: 7.438 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of SimCode: time 4.8e-07/0.3547, allocations: 4 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of Templates: time 0.003401/0.3581, allocations: 0.6203 MB / 1.078 GB, free: 20 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)