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.0017/0.0017, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002065/0.002065, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.8391/0.8391, allocations: 133.9 MB / 442.8 MB, free: 11.3 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.001863/0.001863, allocations: 66.16 kB / 0.6134 GB, free: 8.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1765, allocations: 85.85 MB / 0.6973 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002702/0.1792, allocations: 1.272 MB / 0.6985 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1805, allocations: 0.5842 MB / 0.6991 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.1805, allocations: 0 / 0.6991 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.1805, allocations: 0 / 0.6991 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.1806, allocations: 7.938 kB / 0.6991 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.1813, allocations: 145.6 kB / 0.6992 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.11e-05/0.1813, allocations: 15.98 kB / 0.6992 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.187e-05/0.1814, allocations: 0 / 0.6992 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.1814, allocations: 4 kB / 0.6992 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.1815, allocations: 3.938 kB / 0.6992 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1815, allocations: 0 / 0.6992 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005704/0.1821, allocations: 347.3 kB / 0.6996 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1821, allocations: 3.938 kB / 0.6996 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.1821, allocations: 0 / 0.6996 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1824, allocations: 143.8 kB / 0.6997 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1824, allocations: 4 kB / 0.6997 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1824, allocations: 0 / 0.6997 GB, free: 424 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1824, allocations: 4 kB / 0.6997 GB, free: 420 kB / 0.5137 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.0004834/0.1829, allocations: 359.1 kB / 0.7001 GB, free: 12 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1829, allocations: 9.109 kB / 0.7001 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.183, allocations: 30.75 kB / 0.7001 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.183, allocations: 0.9375 kB / 0.7001 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1831, allocations: 164.4 kB / 0.7003 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1831, allocations: 8.312 kB / 0.7003 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.1832, allocations: 4.125 kB / 0.7003 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1833, allocations: 37.69 kB / 0.7003 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1833, allocations: 3.938 kB / 0.7003 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1833, allocations: 0 / 0.7003 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1833, allocations: 0 / 0.7003 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.1833, allocations: 4 kB / 0.7003 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1835, allocations: 149.7 kB / 0.7005 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.1836, allocations: 30.5 kB / 0.7005 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.1836, allocations: 8.797 kB / 0.7005 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1836, allocations: 3.984 kB / 0.7005 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1837, allocations: 34.62 kB / 0.7005 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1837, allocations: 0 / 0.7005 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.1839, allocations: 41.69 kB / 0.7006 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1839, allocations: 51.41 kB / 0.7006 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.184, allocations: 102 kB / 0.7007 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.184, allocations: 25.7 kB / 0.7007 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1841, allocations: 80.14 kB / 0.7008 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1841, allocations: 7.938 kB / 0.7008 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1841, allocations: 17.66 kB / 0.7008 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1843, allocations: 318.8 kB / 0.7011 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.1843, allocations: 4 kB / 0.7011 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.1843, allocations: 128 / 0.7011 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.1844, allocations: 20.92 kB / 0.7012 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1844, allocations: 0 / 0.7012 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.087e-05/0.1844, allocations: 41.59 kB / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1845, allocations: 4 kB / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1845, allocations: 0 / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1845, allocations: 3.984 kB / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1846, allocations: 12 kB / 0.7012 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005284/0.1852, allocations: 0.5898 MB / 0.7018 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1852, allocations: 32 / 0.7018 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1852, allocations: 7.938 kB / 0.7018 GB, free: 14.01 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.963e-05/0.1853, allocations: 113.8 kB / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-06/0.1853, allocations: 0 / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1854, allocations: 48.7 kB / 0.702 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1854, allocations: 12.11 kB / 0.702 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1854, allocations: 0 / 0.702 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1854, allocations: 0 / 0.702 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1856, allocations: 149.6 kB / 0.7021 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1856, allocations: 4 kB / 0.7021 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.1857, allocations: 7.984 kB / 0.7021 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1857, allocations: 4 kB / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1857, allocations: 0 / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004507/0.1862, allocations: 0.5937 MB / 0.7027 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1862, allocations: 0 / 0.7027 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.241e-05/0.1862, allocations: 65.09 kB / 0.7028 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.1863, allocations: 81.11 kB / 0.7029 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1863, allocations: 3.938 kB / 0.7029 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.1864, allocations: 0 / 0.7029 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1864, allocations: 0 / 0.7029 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1864, allocations: 4.125 kB / 0.7029 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.1864, allocations: 83.27 kB / 0.7029 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1864, allocations: 0 / 0.7029 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002146/0.1866, allocations: 8 kB / 0.7029 GB, free: 12.72 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.0004842/0.1871, allocations: 0.6203 MB / 0.7036 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1873, allocations: 15.98 kB / 0.7036 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1873, allocations: 0 / 0.7036 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.1874, allocations: 11.98 kB / 0.7036 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1875, allocations: 13.34 kB / 0.7036 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.188, allocations: 131.8 kB / 0.7037 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1883, allocations: 0.6768 MB / 0.7044 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.1884, allocations: 3.938 kB / 0.7044 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.1884, allocations: 11.44 kB / 0.7044 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.1884, allocations: 0 / 0.7044 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.2151, allocations: 1.376 MB / 0.7057 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.93, allocations: 4.891 kB / 0.7057 GB, free: 9.98 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.689477560998057] Failed to read output from testmodel.py, exit status != 0: 12.021302827997715 12.041443805 11.855241259 Calling exit ...