Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001544/0.001544, allocations: 101.6 kB / 16.4 MB, free: 6.492 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.001477/0.001477, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.413/1.413, 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.8485/0.8485, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.8 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1649, allocations: 78.87 MB / 0.6506 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002241/0.1672, allocations: 1.232 MB / 0.6518 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.1682, allocations: 0.5975 MB / 0.6523 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.1683, allocations: 0 / 0.6523 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1683, allocations: 3.938 kB / 0.6523 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.1683, allocations: 0 / 0.6523 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1688, allocations: 141 kB / 0.6525 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.1689, allocations: 11.94 kB / 0.6525 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.1689, allocations: 4 kB / 0.6525 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.1689, allocations: 4 kB / 0.6525 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.169, allocations: 7.984 kB / 0.6525 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.169, allocations: 0 / 0.6525 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.1696, allocations: 343.3 kB / 0.6528 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.1696, allocations: 3.938 kB / 0.6528 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.1696, allocations: 4 kB / 0.6528 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1699, allocations: 139.9 kB / 0.653 GB, free: 1.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1699, allocations: 4 kB / 0.653 GB, free: 1.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.1699, allocations: 0 / 0.653 GB, free: 1.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1699, allocations: 3.938 kB / 0.653 GB, free: 1.117 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.0004181/0.1703, allocations: 351.2 kB / 0.6533 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1704, allocations: 8.031 kB / 0.6533 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.1704, allocations: 30.75 kB / 0.6533 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.1705, allocations: 4.891 kB / 0.6534 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1706, allocations: 172.3 kB / 0.6535 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1706, allocations: 4.359 kB / 0.6535 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1706, allocations: 4.125 kB / 0.6535 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.1707, allocations: 33.7 kB / 0.6536 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1707, allocations: 0 / 0.6536 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.1707, allocations: 4 kB / 0.6536 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1708, allocations: 0 / 0.6536 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.1708, allocations: 7.938 kB / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.171, allocations: 153.7 kB / 0.6537 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.171, allocations: 18.58 kB / 0.6537 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.171, allocations: 12.86 kB / 0.6537 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1711, allocations: 0 / 0.6537 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1711, allocations: 42.55 kB / 0.6538 GB, free: 120 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1711, allocations: 0 / 0.6538 GB, free: 120 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.1712, allocations: 37.64 kB / 0.6538 GB, free: 76 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1713, allocations: 55.41 kB / 0.6539 GB, free: 8 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.1714, allocations: 93.86 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1714, allocations: 25.7 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.1715, allocations: 96.05 kB / 0.6541 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1715, allocations: 12.14 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.1715, allocations: 13.72 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1717, allocations: 314.8 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.1717, allocations: 0 / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.1717, allocations: 4 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.1717, allocations: 12.86 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1717, allocations: 0 / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.796e-05/0.1718, allocations: 49.62 kB / 0.6545 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1718, allocations: 4 kB / 0.6545 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1718, allocations: 4 kB / 0.6545 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1719, allocations: 0 / 0.6545 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.172, allocations: 11.98 kB / 0.6545 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003929/0.1724, allocations: 0.5821 MB / 0.6551 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.1724, allocations: 3.953 kB / 0.6551 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1725, allocations: 8.062 kB / 0.6551 GB, free: 14.72 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.357e-05/0.1725, allocations: 109.8 kB / 0.6552 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.1726, allocations: 4.031 kB / 0.6552 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1727, allocations: 48.75 kB / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1727, allocations: 0 / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1727, allocations: 0 / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1727, allocations: 0 / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1728, allocations: 153.6 kB / 0.6554 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1728, allocations: 4.031 kB / 0.6554 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.091e-05/0.1729, allocations: 8 kB / 0.6554 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1729, allocations: 3.984 kB / 0.6554 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1729, allocations: 4 kB / 0.6554 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.1733, allocations: 0.5898 MB / 0.656 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1733, allocations: 0 / 0.656 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.265e-05/0.1734, allocations: 65.27 kB / 0.656 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.1735, allocations: 85.05 kB / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1735, allocations: 3.938 kB / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.1735, allocations: 0 / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.1735, allocations: 0 / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1735, allocations: 4 kB / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.1736, allocations: 75.28 kB / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.094e-06/0.1736, allocations: 0 / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001966/0.1738, allocations: 20 kB / 0.6562 GB, free: 13.43 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.0004532/0.1742, allocations: 0.6203 MB / 0.6568 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.1744, allocations: 15.98 kB / 0.6568 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.1744, allocations: 12.03 kB / 0.6568 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.1745, allocations: 11.98 kB / 0.6569 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1746, allocations: 10.56 kB / 0.6569 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.1751, allocations: 131.8 kB / 0.657 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1754, allocations: 0.6729 MB / 0.6576 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.1754, allocations: 0 / 0.6576 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.1754, allocations: 11.5 kB / 0.6577 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1754, allocations: 0 / 0.6577 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.1993, allocations: 1.39 MB / 0.659 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.74, allocations: 0.625 kB / 0.659 GB, free: 10.66 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)