Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001357/0.001357, allocations: 104 kB / 16.4 MB, free: 6.504 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.001489/0.001489, allocations: 196 kB / 17.34 MB, free: 5.727 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8411/0.8411, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 69.69 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.16, allocations: 78.87 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00235/0.1624, allocations: 1.235 MB / 0.6518 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1635, allocations: 0.5975 MB / 0.6523 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1635, allocations: 3.938 kB / 0.6523 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1636, allocations: 0 / 0.6523 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.1636, allocations: 3.984 kB / 0.6524 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.1642, allocations: 133.4 kB / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.1643, allocations: 11.92 kB / 0.6525 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1643, allocations: 8 kB / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.1643, allocations: 0 / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.1644, allocations: 11.98 kB / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1644, allocations: 0 / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.165, allocations: 343.3 kB / 0.6528 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.165, allocations: 0 / 0.6528 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.165, allocations: 7.984 kB / 0.6528 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1653, allocations: 143.9 kB / 0.653 GB, free: 1.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1653, allocations: 3.938 kB / 0.653 GB, free: 1.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1653, allocations: 0 / 0.653 GB, free: 1.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1654, allocations: 0 / 0.653 GB, free: 1.078 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004754/0.1658, allocations: 351.2 kB / 0.6533 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1659, allocations: 8.031 kB / 0.6533 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1659, allocations: 34.75 kB / 0.6534 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.166, allocations: 8.891 kB / 0.6534 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1661, allocations: 164.3 kB / 0.6535 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1661, allocations: 384 / 0.6535 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1662, allocations: 4.125 kB / 0.6535 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.393e-05/0.1663, allocations: 33.69 kB / 0.6536 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1663, allocations: 4 kB / 0.6536 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1663, allocations: 0 / 0.6536 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1663, allocations: 0 / 0.6536 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.1663, allocations: 7.938 kB / 0.6536 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.1665, allocations: 153.7 kB / 0.6537 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.188e-05/0.1666, allocations: 22.58 kB / 0.6537 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.1666, allocations: 12.86 kB / 0.6538 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1666, allocations: 4 kB / 0.6538 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1667, allocations: 30.56 kB / 0.6538 GB, free: 88 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1667, allocations: 0 / 0.6538 GB, free: 88 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.1668, allocations: 49.62 kB / 0.6538 GB, free: 32 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.1669, allocations: 51.41 kB / 0.6539 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.167, allocations: 89.86 kB / 0.654 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.167, allocations: 29.64 kB / 0.654 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.1671, allocations: 88.39 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1671, allocations: 7.953 kB / 0.6541 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1671, allocations: 9.719 kB / 0.6541 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1673, allocations: 322.8 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.1673, allocations: 0 / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.1673, allocations: 8 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.1674, allocations: 8.859 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1674, allocations: 0 / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.166e-05/0.1675, allocations: 53.62 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1675, allocations: 7.984 kB / 0.6545 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1675, allocations: 4 kB / 0.6545 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1675, allocations: 0 / 0.6545 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1677, allocations: 8 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004318/0.1681, allocations: 0.5782 MB / 0.6551 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.1681, allocations: 4.078 kB / 0.6551 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1682, allocations: 11.92 kB / 0.6551 GB, free: 14.68 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.771e-05/0.1683, allocations: 109.9 kB / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.1683, allocations: 0 / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1684, allocations: 48.75 kB / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1684, allocations: 0 / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1684, allocations: 0 / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1684, allocations: 0 / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1685, allocations: 157.7 kB / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1686, allocations: 0 / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.1686, allocations: 11.98 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1687, allocations: 4 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1687, allocations: 0 / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003737/0.169, allocations: 0.5898 MB / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1691, allocations: 0 / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.1691, allocations: 69.25 kB / 0.656 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.1692, allocations: 81.06 kB / 0.6561 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1692, allocations: 3.938 kB / 0.6561 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.1692, allocations: 0 / 0.6561 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.1693, allocations: 7.984 kB / 0.6561 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1693, allocations: 4 kB / 0.6561 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.1693, allocations: 79.22 kB / 0.6562 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1693, allocations: 4.125 kB / 0.6562 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001996/0.1695, allocations: 11.94 kB / 0.6562 GB, free: 13.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004669/0.17, allocations: 0.6084 MB / 0.6568 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1702, allocations: 24.02 kB / 0.6568 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1702, allocations: 4.062 kB / 0.6568 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.1703, allocations: 15.92 kB / 0.6569 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1704, allocations: 3.938 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.1709, allocations: 138 kB / 0.657 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1713, allocations: 0.6768 MB / 0.6576 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.1713, allocations: 4.062 kB / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.1713, allocations: 7.438 kB / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1713, allocations: 0 / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.1942, allocations: 1.366 MB / 0.659 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.85, allocations: 6.25 kB / 0.659 GB, free: 10.63 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)