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.001687/0.001687, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001858/0.001858, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.509/1.509, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8385/0.8385, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 78 kB / 0.5735 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 78.86 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002376/0.1562, allocations: 1.253 MB / 0.6518 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1572, allocations: 0.6169 MB / 0.6524 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.1573, allocations: 4 kB / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.1573, allocations: 0 / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.124e-05/0.1574, allocations: 7.922 kB / 0.6524 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.1579, allocations: 139.4 kB / 0.6525 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.158, allocations: 23.92 kB / 0.6526 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.158, allocations: 0 / 0.6526 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.1581, allocations: 7.938 kB / 0.6526 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.1581, allocations: 11.97 kB / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1581, allocations: 4 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.1587, allocations: 343.3 kB / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1587, allocations: 7.984 kB / 0.6529 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1587, allocations: 7.938 kB / 0.6529 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.159, allocations: 143.8 kB / 0.6531 GB, free: 1.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.159, allocations: 0 / 0.6531 GB, free: 1.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.159, allocations: 0 / 0.6531 GB, free: 1.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1591, allocations: 0 / 0.6531 GB, free: 1.02 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.0004863/0.1595, allocations: 363.1 kB / 0.6534 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1596, allocations: 8.031 kB / 0.6534 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.1596, allocations: 42.75 kB / 0.6534 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.1597, allocations: 0.9375 kB / 0.6534 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1598, allocations: 164.4 kB / 0.6536 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1598, allocations: 4.375 kB / 0.6536 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1599, allocations: 4.125 kB / 0.6536 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.16, allocations: 49.56 kB / 0.6537 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.16, allocations: 0 / 0.6537 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.16, allocations: 0 / 0.6537 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.16, allocations: 0 / 0.6537 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.16, allocations: 12 kB / 0.6537 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1602, allocations: 165.6 kB / 0.6538 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1604, allocations: 50.47 kB / 0.6539 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.1605, allocations: 24.88 kB / 0.6539 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1605, allocations: 4 kB / 0.6539 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1606, allocations: 34.56 kB / 0.6539 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1606, allocations: 4 kB / 0.6539 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006354/0.1612, allocations: 302.3 kB / 0.6542 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1613, allocations: 51.41 kB / 0.6543 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.1613, allocations: 101.8 kB / 0.6544 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1614, allocations: 25.7 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.1614, allocations: 80.14 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1614, allocations: 23.8 kB / 0.6545 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1615, allocations: 25.7 kB / 0.6545 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1616, allocations: 318.8 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.1616, allocations: 4 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.1617, allocations: 20.05 kB / 0.6549 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/0.1618, allocations: 36.8 kB / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1618, allocations: 3.938 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001054/0.1619, allocations: 61.69 kB / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1619, allocations: 5.875 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1619, allocations: 0 / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1619, allocations: 4 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.162, allocations: 15.98 kB / 0.655 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.162, allocations: 0 / 0.655 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.162, allocations: 0 / 0.655 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.162, allocations: 4 kB / 0.655 GB, free: 14.77 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 7.981e-05/0.1621, allocations: 117.7 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.1621, allocations: 3.953 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1623, allocations: 77.64 kB / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.1623, allocations: 0 / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1623, allocations: 4 kB / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1623, allocations: 3.938 kB / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.1627, allocations: 315.3 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1627, allocations: 0 / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.1627, allocations: 12 kB / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1627, allocations: 0 / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1628, allocations: 3.984 kB / 0.6555 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1628, allocations: 4 kB / 0.6555 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1628, allocations: 0 / 0.6555 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.163, allocations: 184.5 kB / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.1631, allocations: 89.08 kB / 0.6558 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1631, allocations: 4.516 kB / 0.6558 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.1631, allocations: 8 kB / 0.6558 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.1632, allocations: 3.938 kB / 0.6558 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1632, allocations: 7.938 kB / 0.6558 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.1632, allocations: 87.31 kB / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1632, allocations: 0 / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002428/0.1635, allocations: 23.94 kB / 0.6559 GB, free: 13.72 MB / 0.4981 GB 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.0005603/0.1641, allocations: 0.7288 MB / 0.6566 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1642, allocations: 40.22 kB / 0.6566 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1642, allocations: 0 / 0.6566 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.1642, allocations: 16 kB / 0.6567 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1645, allocations: 3.938 kB / 0.6567 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1657, allocations: 1.323 MB / 0.6579 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1661, allocations: 0.6807 MB / 0.6586 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.1661, allocations: 4 kB / 0.6586 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.1661, allocations: 15.44 kB / 0.6586 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1661, allocations: 0 / 0.6586 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.1913, allocations: 1.604 MB / 0.6602 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.12, allocations: 12.17 kB / 0.6602 GB, free: 9.309 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)