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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4855/0.4855, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.000832, allocations: 99.92 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.963e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.6406, allocations: 101.8 MB / 0.653 GB, free: 8.211 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.6409, allocations: 78.52 kB / 0.6531 GB, free: 8.168 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.6538, allocations: 4.54 MB / 0.6575 GB, free: 4.422 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6538, allocations: 3.938 kB / 0.6575 GB, free: 4.418 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.6538, allocations: 0 / 0.6575 GB, free: 4.418 MB / 458.7 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.0003688/0.6542, allocations: 354.6 kB / 0.6578 GB, free: 4.031 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6543, allocations: 8.031 kB / 0.6579 GB, free: 4.023 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.6543, allocations: 7.953 kB / 0.6579 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.6545, allocations: 167 kB / 0.658 GB, free: 3.812 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.6545, allocations: 0 / 0.658 GB, free: 3.812 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.6545, allocations: 8 kB / 0.658 GB, free: 3.805 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.799e-05/0.6546, allocations: 19.11 kB / 0.658 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.6547, allocations: 40.95 kB / 0.6581 GB, free: 3.746 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.6547, allocations: 7.984 kB / 0.6581 GB, free: 3.738 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.6547, allocations: 3.953 kB / 0.6581 GB, free: 3.734 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6547, allocations: 0 / 0.6581 GB, free: 3.734 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.6549, allocations: 144.3 kB / 0.6582 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/0.655, allocations: 48.77 kB / 0.6583 GB, free: 3.516 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.6551, allocations: 26.66 kB / 0.6583 GB, free: 3.492 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.6551, allocations: 4 kB / 0.6583 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.6551, allocations: 33.81 kB / 0.6583 GB, free: 3.449 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.6551, allocations: 0 / 0.6583 GB, free: 3.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008699/0.656, allocations: 0.517 MB / 0.6588 GB, free: 2.875 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.6561, allocations: 55.36 kB / 0.6589 GB, free: 2.809 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.6561, allocations: 89 kB / 0.659 GB, free: 2.715 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.6562, allocations: 25.7 kB / 0.659 GB, free: 2.684 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.6562, allocations: 80.14 kB / 0.6591 GB, free: 2.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.6562, allocations: 43.02 kB / 0.6591 GB, free: 2.566 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.6563, allocations: 0 / 0.6591 GB, free: 2.566 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6564, allocations: 314.8 kB / 0.6594 GB, free: 2.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.6564, allocations: 23.12 kB / 0.6594 GB, free: 2.234 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.6565, allocations: 22.75 kB / 0.6595 GB, free: 2.219 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.29e-05/0.6565, allocations: 22.48 kB / 0.6595 GB, free: 2.203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6565, allocations: 3.938 kB / 0.6595 GB, free: 2.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001259/0.6567, allocations: 87.34 kB / 0.6596 GB, free: 2.121 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6567, allocations: 4 kB / 0.6596 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6567, allocations: 0 / 0.6596 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.6567, allocations: 0 / 0.6596 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.6568, allocations: 27.98 kB / 0.6596 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.6569, allocations: 0 / 0.6596 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.6569, allocations: 7.953 kB / 0.6596 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.6569, allocations: 7.938 kB / 0.6596 GB, free: 2.074 MB / 458.7 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 () * 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.805e-05/0.657, allocations: 104.9 kB / 0.6597 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001138/0.6571, allocations: 71.62 kB / 0.6598 GB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.6571, allocations: 11.89 kB / 0.6598 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.6573, allocations: 93.83 kB / 0.6599 GB, free: 1.809 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6573, allocations: 96 / 0.6599 GB, free: 1.809 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6573, allocations: 11.83 kB / 0.6599 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6573, allocations: 0 / 0.6599 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.6577, allocations: 322.4 kB / 0.6602 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6577, allocations: 0 / 0.6602 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.6578, allocations: 19.98 kB / 0.6602 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6579, allocations: 0 / 0.6602 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.6579, allocations: 4 kB / 0.6602 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6579, allocations: 3.953 kB / 0.6602 GB, free: 1.434 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6579, allocations: 3.938 kB / 0.6602 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.6581, allocations: 214.7 kB / 0.6604 GB, free: 1.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.6582, allocations: 81.09 kB / 0.6605 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.6582, allocations: 0 / 0.6605 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.6583, allocations: 4.031 kB / 0.6605 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.6583, allocations: 11.94 kB / 0.6605 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.6583, allocations: 0 / 0.6605 GB, free: 1.113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.36e-05/0.6584, allocations: 82.41 kB / 0.6606 GB, free: 1.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6584, allocations: 0 / 0.6606 GB, free: 1.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.6587, allocations: 35.94 kB / 0.6607 GB, free: 1 MB / 458.7 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 () * 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.0006055/0.6593, allocations: 0.7836 MB / 0.6614 GB, free: 216 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.6594, allocations: 53.19 kB / 0.6615 GB, free: 176 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6594, allocations: 0 / 0.6615 GB, free: 176 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.6595, allocations: 34.86 kB / 0.6615 GB, free: 148 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.6596, allocations: 10.81 kB / 0.6615 GB, free: 140 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.6603, allocations: 269.7 kB / 0.6618 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.6605, allocations: 0.6846 MB / 0.6624 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.6606, allocations: 19.97 kB / 0.6625 GB, free: 15.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.6606, allocations: 18.56 kB / 0.6625 GB, free: 15.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6607, allocations: 0 / 0.6625 GB, free: 15.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.6827, allocations: 1.445 MB / 0.6639 GB, free: 13.68 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.683, allocations: 188.3 kB / 0.6641 GB, free: 13.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.217, allocations: 0 / 0.6641 GB, free: 13.48 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)