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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 102.7 kB / 16.4 MB, free: 6.52 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.001721/0.001721, allocations: 196 kB / 17.34 MB, free: 5.734 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.407/1.407, 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.8224/0.8224, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 77.52 kB / 0.5735 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1501, allocations: 78.86 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002376/0.1525, allocations: 1.27 MB / 0.6518 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1536, allocations: 0.6132 MB / 0.6524 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1536, allocations: 0 / 0.6524 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.1536, allocations: 0 / 0.6524 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.1537, allocations: 3.938 kB / 0.6524 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.1543, allocations: 163.3 kB / 0.6526 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.1544, allocations: 23.92 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.1544, allocations: 4 kB / 0.6526 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.1544, allocations: 11.94 kB / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.1545, allocations: 15.91 kB / 0.6526 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1545, allocations: 4 kB / 0.6526 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.1551, allocations: 339.3 kB / 0.6529 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.1551, allocations: 11.98 kB / 0.6529 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.1551, allocations: 15.92 kB / 0.653 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1554, allocations: 155.8 kB / 0.6531 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1554, allocations: 0 / 0.6531 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1555, allocations: 7.938 kB / 0.6531 GB, free: 0.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1555, allocations: 0 / 0.6531 GB, free: 0.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004331/0.1559, allocations: 371 kB / 0.6535 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1559, allocations: 8.031 kB / 0.6535 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.156, allocations: 34.75 kB / 0.6535 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.156, allocations: 4.938 kB / 0.6535 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1562, allocations: 164.3 kB / 0.6537 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.1562, allocations: 4.375 kB / 0.6537 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.1562, allocations: 12.12 kB / 0.6537 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1563, allocations: 49.67 kB / 0.6537 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1564, allocations: 0 / 0.6537 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1564, allocations: 8 kB / 0.6537 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1564, allocations: 0 / 0.6537 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.1564, allocations: 19.98 kB / 0.6538 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.1566, allocations: 165.6 kB / 0.6539 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1568, allocations: 62.5 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.1568, allocations: 32.78 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1568, allocations: 0 / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1569, allocations: 38.56 kB / 0.6541 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.1569, allocations: 0 / 0.6541 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001157/0.158, allocations: 0.5842 MB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1581, allocations: 55.34 kB / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.1582, allocations: 93.86 kB / 0.6548 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1582, allocations: 25.7 kB / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.1583, allocations: 88.12 kB / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.1583, allocations: 35.66 kB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1584, allocations: 29.7 kB / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1585, allocations: 322.9 kB / 0.6552 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.1586, allocations: 23.98 kB / 0.6553 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.1586, allocations: 25.3 kB / 0.6553 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.1587, allocations: 56.11 kB / 0.6553 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1587, allocations: 0 / 0.6553 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001584/0.1589, allocations: 105.6 kB / 0.6554 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1589, allocations: 4 kB / 0.6554 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1589, allocations: 0 / 0.6554 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1589, allocations: 96 / 0.6554 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.159, allocations: 27.88 kB / 0.6555 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1591, allocations: 7.984 kB / 0.6555 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.1591, allocations: 0 / 0.6555 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1591, allocations: 8 kB / 0.6555 GB, free: 14.21 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 (13): * Single equations (assignments): 13 * 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 9.475e-05/0.1592, allocations: 121.8 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1592, allocations: 0 / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.1594, allocations: 113.4 kB / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1595, allocations: 0 / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1595, allocations: 0 / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1595, allocations: 3.984 kB / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.1599, allocations: 354.5 kB / 0.6561 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1599, allocations: 0 / 0.6561 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.16, allocations: 23.94 kB / 0.6561 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.16, allocations: 0 / 0.6561 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.16, allocations: 4 kB / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1601, allocations: 0 / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1601, allocations: 7.922 kB / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1603, allocations: 223.7 kB / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.1604, allocations: 81.06 kB / 0.6564 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1604, allocations: 0 / 0.6564 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.1605, allocations: 12.03 kB / 0.6564 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.1605, allocations: 11.92 kB / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1605, allocations: 0 / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.1606, allocations: 79.28 kB / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1606, allocations: 0 / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002729/0.1609, allocations: 39.86 kB / 0.6565 GB, free: 13.05 MB / 0.4981 GB 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 (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.0006643/0.1615, allocations: 0.7866 MB / 0.6573 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1617, allocations: 59.92 kB / 0.6573 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1617, allocations: 3.938 kB / 0.6573 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.1618, allocations: 31.98 kB / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.162, allocations: 12.69 kB / 0.6574 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1636, allocations: 1.504 MB / 0.6589 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1639, allocations: 0.6846 MB / 0.6595 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.347e-05/0.164, allocations: 15.95 kB / 0.6595 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.164, allocations: 19.44 kB / 0.6596 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.164, allocations: 0 / 0.6596 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.1888, allocations: 2.069 MB / 0.6616 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.093, allocations: 11.17 kB / 0.6616 GB, free: 7.906 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_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_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)