Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008051/0.0008048, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008425/0.0008425, allocations: 174.3 kB / 16.58 MB, free: 6.852 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.351/1.351, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7095/0.7095, allocations: 115.5 MB / 407.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 15.98 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 77.52 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001144/0.139, allocations: 0.9924 MB / 0.5603 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.1399, allocations: 0.5689 MB / 0.5609 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.1399, allocations: 0 / 0.5609 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.07e-05/0.14, allocations: 0 / 0.5609 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.511e-05/0.14, allocations: 3.938 kB / 0.5609 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1404, allocations: 115.6 kB / 0.561 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.1405, allocations: 31.91 kB / 0.561 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.1405, allocations: 4 kB / 0.561 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.1406, allocations: 15.92 kB / 0.561 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.1406, allocations: 8 kB / 0.561 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1406, allocations: 4 kB / 0.561 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.1411, allocations: 335.3 kB / 0.5613 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.1411, allocations: 7.984 kB / 0.5614 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.1412, allocations: 33.64 kB / 0.5614 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1413, allocations: 104 kB / 0.5615 GB, free: 7.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1413, allocations: 0 / 0.5615 GB, free: 7.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1413, allocations: 0 / 0.5615 GB, free: 7.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.1414, allocations: 4 kB / 0.5615 GB, free: 7.164 MB / 430.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.0003392/0.1417, allocations: 357.4 kB / 0.5618 GB, free: 6.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1417, allocations: 12.03 kB / 0.5618 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1418, allocations: 3.906 kB / 0.5618 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1419, allocations: 167.1 kB / 0.562 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1419, allocations: 4 kB / 0.562 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1419, allocations: 4 kB / 0.562 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.142, allocations: 53.58 kB / 0.5621 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1421, allocations: 4 kB / 0.5621 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1421, allocations: 4 kB / 0.5621 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1421, allocations: 0 / 0.5621 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.1421, allocations: 23.92 kB / 0.5621 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1423, allocations: 169.6 kB / 0.5623 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1424, allocations: 58.55 kB / 0.5623 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.1425, allocations: 24.86 kB / 0.5623 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1425, allocations: 7.984 kB / 0.5623 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1425, allocations: 38.52 kB / 0.5624 GB, free: 6.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.1425, allocations: 0 / 0.5624 GB, free: 6.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001064/0.1436, allocations: 0.5995 MB / 0.563 GB, free: 5.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1436, allocations: 51.41 kB / 0.563 GB, free: 5.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.1437, allocations: 93.86 kB / 0.5631 GB, free: 5.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1437, allocations: 29.7 kB / 0.5631 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1438, allocations: 80.14 kB / 0.5632 GB, free: 5.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1438, allocations: 39.39 kB / 0.5632 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1438, allocations: 4 kB / 0.5633 GB, free: 5.074 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1439, allocations: 314.8 kB / 0.5636 GB, free: 4.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.144, allocations: 28.11 kB / 0.5636 GB, free: 4.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.144, allocations: 22.98 kB / 0.5636 GB, free: 4.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.1441, allocations: 28 kB / 0.5636 GB, free: 4.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1441, allocations: 0 / 0.5636 GB, free: 4.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001405/0.1442, allocations: 93.58 kB / 0.5637 GB, free: 4.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1443, allocations: 8 kB / 0.5637 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1443, allocations: 0 / 0.5637 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.1443, allocations: 3.938 kB / 0.5637 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1444, allocations: 23.98 kB / 0.5638 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1444, allocations: 0 / 0.5638 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.1444, allocations: 8 kB / 0.5638 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1444, allocations: 4 kB / 0.5638 GB, free: 4.539 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 7.035e-05/0.1445, allocations: 113.8 kB / 0.5639 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.1445, allocations: 11.86 kB / 0.5639 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.1447, allocations: 101.6 kB / 0.564 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1448, allocations: 4 kB / 0.564 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1448, allocations: 96 / 0.564 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1448, allocations: 3.938 kB / 0.564 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.1451, allocations: 359.7 kB / 0.5643 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1452, allocations: 0 / 0.5643 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1453, allocations: 23.98 kB / 0.5644 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1453, allocations: 0 / 0.5644 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1453, allocations: 4 kB / 0.5644 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1453, allocations: 0 / 0.5644 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1453, allocations: 4 kB / 0.5644 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1456, allocations: 215.4 kB / 0.5646 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1456, allocations: 88.91 kB / 0.5646 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1456, allocations: 8.031 kB / 0.5647 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.1457, allocations: 0 / 0.5647 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.1457, allocations: 7.984 kB / 0.5647 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1458, allocations: 8 kB / 0.5647 GB, free: 3.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.949e-05/0.1458, allocations: 75.28 kB / 0.5647 GB, free: 3.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1458, allocations: 0 / 0.5647 GB, free: 3.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1461, allocations: 36 kB / 0.5648 GB, free: 3.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * 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.000182/0.1463, allocations: 135.3 kB / 0.5649 GB, free: 3.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.1464, allocations: 63.09 kB / 0.565 GB, free: 3.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1464, allocations: 0 / 0.565 GB, free: 3.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.743e-05/0.1465, allocations: 31.92 kB / 0.565 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1467, allocations: 13.48 kB / 0.565 GB, free: 3.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.1472, allocations: 336.7 kB / 0.5653 GB, free: 2.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1475, allocations: 0.6848 MB / 0.566 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.1475, allocations: 15.95 kB / 0.566 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.1476, allocations: 11.44 kB / 0.566 GB, free: 2.051 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1476, allocations: 0 / 0.566 GB, free: 2.051 MB / 430.1 MB Notification: Performance of Templates: time 0.003078/0.1507, allocations: 0.9023 MB / 0.5669 GB, free: 1.188 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)