Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.0008525/0.0008524, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009106/0.0009107, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 12.77 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001518/0.1532, allocations: 0.9887 MB / 0.561 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1544, allocations: 0.619 MB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.1544, allocations: 0 / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.1544, allocations: 0 / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.1545, allocations: 11.88 kB / 0.5616 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.155, allocations: 122.3 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.1551, allocations: 23.92 kB / 0.5618 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.1552, allocations: 0 / 0.5618 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.1552, allocations: 8 kB / 0.5618 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.1553, allocations: 15.91 kB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1553, allocations: 0 / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.1558, allocations: 343.3 kB / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.1558, allocations: 0 / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.1559, allocations: 41.62 kB / 0.5622 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1561, allocations: 147.9 kB / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1561, allocations: 0 / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1562, allocations: 0 / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1562, allocations: 4 kB / 0.5623 GB, free: 6.609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003882/0.1566, allocations: 351.5 kB / 0.5626 GB, free: 6.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1566, allocations: 8.031 kB / 0.5626 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1566, allocations: 34.75 kB / 0.5627 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1567, allocations: 12.83 kB / 0.5627 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1568, allocations: 160.4 kB / 0.5628 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1568, allocations: 4.375 kB / 0.5628 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1568, allocations: 4.375 kB / 0.5628 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.157, allocations: 46.19 kB / 0.5629 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.157, allocations: 3.938 kB / 0.5629 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.157, allocations: 0 / 0.5629 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.157, allocations: 4 kB / 0.5629 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.157, allocations: 8 kB / 0.5629 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.1572, allocations: 153.7 kB / 0.5631 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1574, allocations: 54.53 kB / 0.5631 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.1574, allocations: 24.88 kB / 0.5631 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1575, allocations: 4 kB / 0.5631 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1575, allocations: 30.56 kB / 0.5632 GB, free: 5.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1575, allocations: 0 / 0.5632 GB, free: 5.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006451/0.1582, allocations: 310.1 kB / 0.5635 GB, free: 5.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1582, allocations: 59.39 kB / 0.5635 GB, free: 5.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.1583, allocations: 101.8 kB / 0.5636 GB, free: 5.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1583, allocations: 29.7 kB / 0.5636 GB, free: 4.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.1583, allocations: 80.14 kB / 0.5637 GB, free: 4.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1584, allocations: 23.7 kB / 0.5637 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.1584, allocations: 13.72 kB / 0.5638 GB, free: 4.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1585, allocations: 310.8 kB / 0.564 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.1586, allocations: 15.98 kB / 0.5641 GB, free: 4.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.1586, allocations: 12 kB / 0.5641 GB, free: 4.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.1587, allocations: 32.8 kB / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1587, allocations: 0 / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001032/0.1588, allocations: 73.53 kB / 0.5642 GB, free: 4.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1588, allocations: 8 kB / 0.5642 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1588, allocations: 0 / 0.5642 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1588, allocations: 0 / 0.5642 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.1589, allocations: 11.98 kB / 0.5642 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1589, allocations: 0 / 0.5642 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1589, allocations: 4 kB / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.159, allocations: 0 / 0.5642 GB, free: 4.379 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 (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 prepare postOptimizeDAE: time 8.528e-05/0.159, allocations: 117.8 kB / 0.5643 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1591, allocations: 7.938 kB / 0.5643 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1592, allocations: 69.64 kB / 0.5644 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1592, allocations: 4 kB / 0.5644 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1592, allocations: 0 / 0.5644 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1592, allocations: 0 / 0.5644 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.1596, allocations: 319.5 kB / 0.5647 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1596, allocations: 0 / 0.5647 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.1597, allocations: 12 kB / 0.5647 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1597, allocations: 4.031 kB / 0.5647 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1597, allocations: 7.984 kB / 0.5647 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1597, allocations: 0 / 0.5647 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1597, allocations: 4 kB / 0.5647 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.1599, allocations: 180.2 kB / 0.5649 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.16, allocations: 81.12 kB / 0.565 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.16, allocations: 4 kB / 0.565 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1601, allocations: 4.062 kB / 0.565 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.1601, allocations: 8.453 kB / 0.565 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1601, allocations: 7.938 kB / 0.565 GB, free: 3.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.1601, allocations: 83.27 kB / 0.5651 GB, free: 3.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 0.5651 GB, free: 3.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1604, allocations: 23.94 kB / 0.5651 GB, free: 3.348 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005093/0.1609, allocations: 0.7329 MB / 0.5658 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.161, allocations: 31.98 kB / 0.5658 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.161, allocations: 0 / 0.5658 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.1611, allocations: 15.94 kB / 0.5659 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1613, allocations: 8 kB / 0.5659 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1625, allocations: 1.356 MB / 0.5672 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1628, allocations: 0.677 MB / 0.5679 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.1629, allocations: 8.062 kB / 0.5679 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1629, allocations: 19.42 kB / 0.5679 GB, free: 364 kB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1629, allocations: 0 / 0.5679 GB, free: 364 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/1.193, allocations: 1.37 MB / 0.5692 GB, free: 15.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/1.193, allocations: 242.8 kB / 0.5694 GB, free: 14.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/3.192, allocations: 0 / 0.5694 GB, free: 14.92 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)