Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.002133/0.002133, 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.002289/0.002289, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.781 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.8187/0.8187, allocations: 134 MB / 446.4 MB, free: 9.934 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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.002056/0.002056, allocations: 65.72 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1723, allocations: 85.91 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002982/0.1752, allocations: 1.588 MB / 0.7039 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006643/0.1759, allocations: 306.5 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.1759, allocations: 0 / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.176, allocations: 11.88 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.1761, allocations: 23.78 kB / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1764, allocations: 67.84 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1765, allocations: 111.6 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1766, allocations: 24.2 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.1767, allocations: 39.86 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.1768, allocations: 39.83 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1768, allocations: 8 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.1769, allocations: 31.97 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.1769, allocations: 15.94 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.177, allocations: 39.73 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1771, allocations: 111.5 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1771, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1771, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1772, allocations: 0 / 0.7047 GB, free: 14.64 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005803/0.1777, allocations: 333.9 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1778, allocations: 8.031 kB / 0.705 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.1778, allocations: 38.75 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009396/0.1788, allocations: 128.7 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1789, allocations: 118.4 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1789, allocations: 8.375 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1789, allocations: 12.12 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.1795, allocations: 149.5 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1795, allocations: 0 / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1795, allocations: 0 / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1795, allocations: 4 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.1802, allocations: 151.8 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009338/0.1812, allocations: 403.3 kB / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.1819, allocations: 138.4 kB / 0.7061 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.1822, allocations: 64.92 kB / 0.7062 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1822, allocations: 3.984 kB / 0.7062 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.1823, allocations: 50.44 kB / 0.7063 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1823, allocations: 0 / 0.7063 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001147/0.1834, allocations: 237.4 kB / 0.7065 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1834, allocations: 55.41 kB / 0.7065 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1836, allocations: 150.2 kB / 0.7067 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1836, allocations: 33.7 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1837, allocations: 100.1 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.1837, allocations: 15.8 kB / 0.7068 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.1838, allocations: 29.7 kB / 0.7069 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1839, allocations: 326.8 kB / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.1843, allocations: 69.03 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1846, allocations: 71.92 kB / 0.7073 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.1853, allocations: 148.8 kB / 0.7074 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1853, allocations: 0 / 0.7074 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007713/0.1861, allocations: 185.5 kB / 0.7076 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1861, allocations: 7.938 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1861, allocations: 0 / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1861, allocations: 4 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.1864, allocations: 39.94 kB / 0.7077 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1864, allocations: 0 / 0.7077 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1866, allocations: 31.86 kB / 0.7077 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1866, allocations: 11.94 kB / 0.7077 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001501/0.1867, allocations: 116 kB / 0.7078 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001057/0.1869, allocations: 52.27 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001928/0.187, allocations: 80.2 kB / 0.7079 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.187, allocations: 4 kB / 0.708 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002443/0.1873, allocations: 105.5 kB / 0.7081 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.1873, allocations: 11.98 kB / 0.7081 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1873, allocations: 3.938 kB / 0.7081 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.1873, allocations: 4 kB / 0.7081 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.1874, allocations: 20.14 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/0.1874, allocations: 3.938 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.1875, allocations: 8 kB / 0.7081 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.1875, allocations: 0 / 0.7081 GB, free: 10.94 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.1876, allocations: 184.3 kB / 0.7083 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1876, allocations: 19.83 kB / 0.7083 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.1877, allocations: 12.41 kB / 0.7083 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1877, allocations: 0 / 0.7083 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1877, allocations: 4 kB / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1877, allocations: 0 / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.1887, allocations: 435 kB / 0.7087 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1887, allocations: 0 / 0.7087 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.189, allocations: 36.06 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.189, allocations: 3.984 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.189, allocations: 7.984 kB / 0.7088 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.189, allocations: 0 / 0.7088 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.189, allocations: 0 / 0.7088 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000813/0.1898, allocations: 293 kB / 0.7091 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.1899, allocations: 31.88 kB / 0.7091 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1899, allocations: 0 / 0.7091 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.1901, allocations: 19.97 kB / 0.7091 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1901, allocations: 11.98 kB / 0.7091 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1902, allocations: 0 / 0.7091 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001029/0.1903, allocations: 126.1 kB / 0.7092 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1903, allocations: 0 / 0.7092 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003102/0.1906, allocations: 32 kB / 0.7093 GB, free: 9.664 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.1917, allocations: 0.816 MB / 0.7101 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008544/0.1925, allocations: 183.8 kB / 0.7102 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1925, allocations: 0 / 0.7102 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.1929, allocations: 76.3 kB / 0.7103 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1932, allocations: 20.7 kB / 0.7103 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.1971, allocations: 1.882 MB / 0.7122 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.36e-05/0.1972, allocations: 91.17 kB / 0.7123 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.139e-05/0.1973, allocations: 12 kB / 0.7123 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1974, allocations: 35.39 kB / 0.7123 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1974, allocations: 0 / 0.7123 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.2378, allocations: 3.391 MB / 0.7156 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.29, allocations: 0 / 0.7156 GB, free: 3.156 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface_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_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.02320494595915] Failed to read output from testmodel.py, exit status != 0: 11.398244788870215 11.424895912 11.242909473 Calling exit ...