Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001352/0.001352, allocations: 107.8 kB / 16.41 MB, free: 6.445 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.001336/0.001336, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8146/0.8146, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.98 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1546, allocations: 78.86 MB / 0.6506 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002806/0.1574, allocations: 1.269 MB / 0.6518 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1586, allocations: 0.6132 MB / 0.6524 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.1586, allocations: 0 / 0.6524 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.1587, allocations: 0 / 0.6524 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.1587, allocations: 3.938 kB / 0.6524 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.1594, allocations: 151.4 kB / 0.6525 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.1595, allocations: 15.94 kB / 0.6526 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.1595, allocations: 0 / 0.6526 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.1596, allocations: 19.92 kB / 0.6526 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.1596, allocations: 7.984 kB / 0.6526 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1596, allocations: 0 / 0.6526 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.1602, allocations: 343.3 kB / 0.6529 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.1603, allocations: 7.938 kB / 0.6529 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1603, allocations: 11.97 kB / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1606, allocations: 143.8 kB / 0.6531 GB, free: 1.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1606, allocations: 3.938 kB / 0.6531 GB, free: 1.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1606, allocations: 0 / 0.6531 GB, free: 1.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1606, allocations: 0 / 0.6531 GB, free: 1.031 MB / 494.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.0004908/0.1611, allocations: 367.1 kB / 0.6534 GB, free: 0.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1612, allocations: 12.62 kB / 0.6534 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1612, allocations: 30.75 kB / 0.6535 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.1613, allocations: 0.9375 kB / 0.6535 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1614, allocations: 168.4 kB / 0.6536 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1614, allocations: 4.312 kB / 0.6536 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1615, allocations: 4.125 kB / 0.6536 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1616, allocations: 45.62 kB / 0.6537 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1616, allocations: 0 / 0.6537 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1616, allocations: 3.984 kB / 0.6537 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1616, allocations: 4 kB / 0.6537 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.1617, allocations: 11.98 kB / 0.6537 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.1619, allocations: 165.6 kB / 0.6538 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1621, allocations: 42.56 kB / 0.6539 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.1621, allocations: 16.8 kB / 0.6539 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1621, allocations: 4 kB / 0.6539 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.1622, allocations: 38.5 kB / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1622, allocations: 0 / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006552/0.1629, allocations: 310.4 kB / 0.6542 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.1629, allocations: 55.41 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.163, allocations: 93.86 kB / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.163, allocations: 29.7 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.1631, allocations: 80.14 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1631, allocations: 27.78 kB / 0.6545 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1631, allocations: 21.72 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1633, allocations: 314.8 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.1633, allocations: 12 kB / 0.6548 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.1633, allocations: 8 kB / 0.6549 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.1634, allocations: 32.84 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.1634, allocations: 3.938 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001044/0.1635, allocations: 69.78 kB / 0.655 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1636, allocations: 11.98 kB / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1636, allocations: 0 / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1636, allocations: 4 kB / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.1636, allocations: 8 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1637, allocations: 0 / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1637, allocations: 0 / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1637, allocations: 7.938 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB 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.202e-05/0.1638, allocations: 113.8 kB / 0.6551 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1638, allocations: 7.953 kB / 0.6551 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.164, allocations: 77.58 kB / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.164, allocations: 3.938 kB / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.164, allocations: 0 / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.164, allocations: 0 / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.1644, allocations: 319.3 kB / 0.6555 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1644, allocations: 0 / 0.6555 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.1644, allocations: 12.5 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1645, allocations: 0 / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1645, allocations: 8.188 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1645, allocations: 8.031 kB / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1645, allocations: 0 / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1647, allocations: 188.3 kB / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.1648, allocations: 81.06 kB / 0.6558 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1648, allocations: 3.984 kB / 0.6558 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.1649, allocations: 4 kB / 0.6558 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.1649, allocations: 8.047 kB / 0.6558 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1649, allocations: 11.94 kB / 0.6558 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.165, allocations: 79.28 kB / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.165, allocations: 0 / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002537/0.1652, allocations: 15.94 kB / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005816/0.1658, allocations: 0.7366 MB / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1659, allocations: 31.98 kB / 0.6566 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1659, allocations: 0 / 0.6566 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.166, allocations: 15.94 kB / 0.6567 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1662, allocations: 18.11 kB / 0.6567 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1675, allocations: 1.315 MB / 0.658 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1678, allocations: 0.6807 MB / 0.6586 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.1679, allocations: 11.97 kB / 0.6586 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.1679, allocations: 19.44 kB / 0.6586 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.1679, allocations: 0 / 0.6586 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.1921, allocations: 1.621 MB / 0.6602 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.154, allocations: 19.23 kB / 0.6602 GB, free: 9.324 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)