Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 218.9 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8455/0.8455, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 69.48 kB / 0.6185 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1597, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00246/0.1622, allocations: 1.269 MB / 0.7037 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1632, allocations: 0.5958 MB / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.1632, allocations: 0 / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.1632, allocations: 3.938 kB / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.1633, allocations: 0 / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.1638, allocations: 143.4 kB / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.032e-05/0.1638, allocations: 15.92 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1639, allocations: 4 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.1639, allocations: 7.938 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.1639, allocations: 4 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1639, allocations: 0 / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.1645, allocations: 347.3 kB / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.1645, allocations: 0 / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.1645, allocations: 7.938 kB / 0.7048 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.1647, allocations: 135.9 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1648, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1648, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1648, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB 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.0004731/0.1652, allocations: 288.5 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1653, allocations: 12.03 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.1653, allocations: 30.75 kB / 0.7052 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.1653, allocations: 4.938 kB / 0.7052 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1655, allocations: 114.5 kB / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1655, allocations: 384 / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1655, allocations: 8.062 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/0.1656, allocations: 29.7 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1656, allocations: 0 / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.1656, allocations: 0 / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1656, allocations: 4 kB / 0.7054 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.1656, allocations: 4 kB / 0.7054 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.1658, allocations: 128.7 kB / 0.7055 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.903e-05/0.1659, allocations: 22.61 kB / 0.7055 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.1659, allocations: 12.86 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1659, allocations: 3.938 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.1659, allocations: 34.56 kB / 0.7056 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1659, allocations: 0 / 0.7056 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001392/0.1661, allocations: 45.62 kB / 0.7056 GB, free: 14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1661, allocations: 55.41 kB / 0.7057 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.1662, allocations: 89.86 kB / 0.7057 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1662, allocations: 25.7 kB / 0.7058 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.1662, allocations: 84.14 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1663, allocations: 15.92 kB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1663, allocations: 13.97 kB / 0.7059 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1664, allocations: 314.8 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1664, allocations: 0 / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.1665, allocations: 8 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.1665, allocations: 8.859 kB / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1665, allocations: 0 / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.471e-05/0.1666, allocations: 53.52 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1666, allocations: 4.094 kB / 0.7063 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1666, allocations: 8 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1666, allocations: 0 / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1667, allocations: 11.98 kB / 0.7063 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004194/0.1671, allocations: 0.5782 MB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.1672, allocations: 0 / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1672, allocations: 3.938 kB / 0.7068 GB, free: 12.66 MB / 0.5294 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.575e-05/0.1673, allocations: 113.9 kB / 0.7069 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-06/0.1673, allocations: 4.031 kB / 0.707 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1674, allocations: 48.94 kB / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1674, allocations: 0 / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1674, allocations: 7.938 kB / 0.707 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1674, allocations: 0 / 0.707 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1675, allocations: 128.7 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1675, allocations: 0 / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.1676, allocations: 8 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1676, allocations: 4.031 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1676, allocations: 0 / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/0.1679, allocations: 0.5898 MB / 0.7077 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1679, allocations: 0 / 0.7077 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.573e-05/0.168, allocations: 69.22 kB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.168, allocations: 0 / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.168, allocations: 7.922 kB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.1681, allocations: 4 kB / 0.7078 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-06/0.1681, allocations: 4 kB / 0.7078 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1681, allocations: 0 / 0.7078 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.1681, allocations: 79.22 kB / 0.7079 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 0.7079 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001904/0.1683, allocations: 8 kB / 0.7079 GB, free: 11.49 MB / 0.5294 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.0005386/0.1688, allocations: 0.6163 MB / 0.7085 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.169, allocations: 19.98 kB / 0.7085 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.169, allocations: 0 / 0.7085 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.1691, allocations: 20.08 kB / 0.7085 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1692, allocations: 0 / 0.7085 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.1697, allocations: 139.7 kB / 0.7087 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.17, allocations: 0.6728 MB / 0.7093 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.17, allocations: 4 kB / 0.7093 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.17, allocations: 11.38 kB / 0.7093 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.17, allocations: 4.062 kB / 0.7093 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.2037, allocations: 1.387 MB / 0.7107 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.72, allocations: 12.97 kB / 0.7107 GB, free: 8.684 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.362479848001385] Failed to read output from testmodel.py, exit status != 0: 12.835543414003041 12.863228479 12.693286307 Calling exit ...