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.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001604/0.001604, allocations: 215.5 kB / 22.25 MB, free: 5.254 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.801 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.9201/0.9201, allocations: 134 MB / 446.4 MB, free: 9.926 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.002203/0.002203, allocations: 66.42 kB / 0.6185 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1739, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002917/0.1768, allocations: 1.274 MB / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1779, allocations: 0.5258 MB / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.1779, allocations: 0 / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.178, allocations: 0 / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.178, allocations: 0 / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.1787, allocations: 146.8 kB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.1788, allocations: 15.88 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.1788, allocations: 4 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.1788, allocations: 4 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.1789, allocations: 11.92 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1789, allocations: 0 / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.1794, allocations: 267.5 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.1794, allocations: 0 / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.1794, allocations: 3.938 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1797, allocations: 131.9 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1797, allocations: 0 / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1797, allocations: 0 / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.1797, allocations: 4 kB / 0.7047 GB, free: 14.66 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.00041/0.1801, allocations: 289.9 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1802, allocations: 8.031 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.1802, allocations: 34.73 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.1802, allocations: 0.9375 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1804, allocations: 110.5 kB / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1804, allocations: 384 / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1804, allocations: 4.125 kB / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1805, allocations: 29.7 kB / 0.7051 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1805, allocations: 0 / 0.7051 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.1805, allocations: 4 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1805, allocations: 4 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.859e-05/0.1805, allocations: 7.984 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1807, allocations: 116.8 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.1808, allocations: 26.55 kB / 0.7053 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.1808, allocations: 12.86 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1808, allocations: 0 / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1808, allocations: 38.55 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.1808, allocations: 0 / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.181, allocations: 41.8 kB / 0.7054 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.181, allocations: 51.41 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.1811, allocations: 93.86 kB / 0.7055 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1811, allocations: 29.7 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.1812, allocations: 80.14 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1812, allocations: 11.88 kB / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1812, allocations: 13.72 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1814, allocations: 314.8 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.1814, allocations: 4 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.1814, allocations: 0 / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.1814, allocations: 17.08 kB / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1814, allocations: 0 / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.343e-05/0.1815, allocations: 49.58 kB / 0.706 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1815, allocations: 6.5 kB / 0.706 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1815, allocations: 7.875 kB / 0.706 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1816, allocations: 4 kB / 0.706 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1817, allocations: 11.92 kB / 0.7061 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004255/0.1821, allocations: 0.5821 MB / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.1821, allocations: 128 / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1822, allocations: 7.938 kB / 0.7066 GB, free: 12.46 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.489e-05/0.1822, allocations: 117.8 kB / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.1822, allocations: 0 / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.1824, allocations: 48.94 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1824, allocations: 0 / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1824, allocations: 0 / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1824, allocations: 3.984 kB / 0.7068 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.1825, allocations: 128.7 kB / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1825, allocations: 0 / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.1825, allocations: 12.03 kB / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1826, allocations: 4 kB / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1826, allocations: 0 / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003527/0.1829, allocations: 0.5899 MB / 0.7075 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1829, allocations: 0 / 0.7075 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.443e-05/0.183, allocations: 69.06 kB / 0.7076 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.183, allocations: 4 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.183, allocations: 3.938 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.183, allocations: 4.109 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.183, allocations: 4 kB / 0.7076 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.183, allocations: 4 kB / 0.7076 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.814e-05/0.1831, allocations: 75.28 kB / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1831, allocations: 0 / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001891/0.1833, allocations: 8 kB / 0.7077 GB, free: 11.3 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.0004504/0.1838, allocations: 0.6162 MB / 0.7083 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.184, allocations: 20.11 kB / 0.7083 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.184, allocations: 0 / 0.7083 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.184, allocations: 12 kB / 0.7083 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1842, allocations: 0 / 0.7083 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.1847, allocations: 139.7 kB / 0.7084 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.1847, allocations: 59.3 kB / 0.7085 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.1847, allocations: 3.938 kB / 0.7085 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.1848, allocations: 19.5 kB / 0.7085 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1848, allocations: 0 / 0.7085 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.2135, allocations: 1.778 MB / 0.7103 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/12.96, allocations: 12.08 kB / 0.7103 GB, free: 8.719 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.821738976985216] Failed to read output from testmodel.py, exit status != 0: 13.072876262944192 13.090352972 12.907230713 Calling exit ...