Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001757/0.001757, allocations: 109.9 kB / 16.45 MB, free: 6.508 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.001923/0.001923, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.8451/0.8451, allocations: 134 MB / 442.8 MB, free: 11.29 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.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001964/0.001964, allocations: 60.78 kB / 0.6134 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1895, allocations: 85.86 MB / 0.6973 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003452/0.1929, allocations: 2.03 MB / 0.6993 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1957, allocations: 1.691 MB / 0.7009 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.1957, allocations: 4 kB / 0.7009 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.064e-05/0.1958, allocations: 19.78 kB / 0.7009 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1959, allocations: 51.55 kB / 0.701 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1971, allocations: 354.8 kB / 0.7013 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1973, allocations: 223.1 kB / 0.7015 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1975, allocations: 41.41 kB / 0.7016 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1976, allocations: 79.78 kB / 0.7016 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1978, allocations: 91.72 kB / 0.7017 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1978, allocations: 16 kB / 0.7017 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008596/0.1987, allocations: 419.5 kB / 0.7021 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.1987, allocations: 43.84 kB / 0.7022 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.1988, allocations: 87.66 kB / 0.7023 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.1994, allocations: 438.6 kB / 0.7027 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1994, allocations: 0 / 0.7027 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1994, allocations: 0 / 0.7027 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1995, allocations: 0 / 0.7027 GB, free: 13.39 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009418/0.2004, allocations: 0.5217 MB / 0.7032 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2004, allocations: 13.11 kB / 0.7032 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.2005, allocations: 54.73 kB / 0.7033 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005837/0.2011, allocations: 88.73 kB / 0.7033 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2012, allocations: 188.1 kB / 0.7035 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/0.2013, allocations: 50.25 kB / 0.7036 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.2014, allocations: 15.94 kB / 0.7036 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.2018, allocations: 177.4 kB / 0.7038 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2018, allocations: 0 / 0.7038 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2018, allocations: 11.94 kB / 0.7038 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2018, allocations: 4 kB / 0.7038 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.2023, allocations: 183.8 kB / 0.7039 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.2038, allocations: 0.9112 MB / 0.7048 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.2043, allocations: 166.5 kB / 0.705 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2045, allocations: 72.2 kB / 0.7051 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/0.2052, allocations: 0.522 MB / 0.7056 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.2053, allocations: 34.56 kB / 0.7056 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2053, allocations: 3.938 kB / 0.7056 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007881/0.2061, allocations: 229.8 kB / 0.7058 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.2061, allocations: 59.34 kB / 0.7059 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.2063, allocations: 162.4 kB / 0.706 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.2063, allocations: 33.7 kB / 0.7061 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.2064, allocations: 115.7 kB / 0.7062 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.2065, allocations: 51.58 kB / 0.7062 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.2066, allocations: 41.66 kB / 0.7063 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2067, allocations: 326.8 kB / 0.7066 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2069, allocations: 71.95 kB / 0.7067 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2072, allocations: 93.67 kB / 0.7067 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.2076, allocations: 147.7 kB / 0.7069 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2076, allocations: 0 / 0.7069 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000542/0.2081, allocations: 225.4 kB / 0.7071 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2081, allocations: 4 kB / 0.7071 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2081, allocations: 0 / 0.7071 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2082, allocations: 4 kB / 0.7071 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.2084, allocations: 39.91 kB / 0.7071 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2084, allocations: 0 / 0.7071 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2086, allocations: 23.88 kB / 0.7072 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2086, allocations: 8.031 kB / 0.7072 GB, free: 8.363 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001272/0.2088, allocations: 129.8 kB / 0.7073 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.2088, allocations: 19.91 kB / 0.7073 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.2094, allocations: 194.4 kB / 0.7075 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2094, allocations: 7.984 kB / 0.7075 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2094, allocations: 0 / 0.7075 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2094, allocations: 0 / 0.7075 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.211, allocations: 0.9756 MB / 0.7085 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.211, allocations: 4 kB / 0.7085 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.2112, allocations: 35.91 kB / 0.7085 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2112, allocations: 0 / 0.7085 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2112, allocations: 4 kB / 0.7085 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2112, allocations: 3.938 kB / 0.7085 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2112, allocations: 0 / 0.7085 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.2118, allocations: 288.6 kB / 0.7088 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.2118, allocations: 100.9 kB / 0.7089 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.2119, allocations: 8 kB / 0.7089 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.2121, allocations: 19.92 kB / 0.7089 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.2121, allocations: 15.92 kB / 0.7089 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2122, allocations: 8 kB / 0.7089 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2123, allocations: 118.1 kB / 0.709 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2123, allocations: 0 / 0.709 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000517/0.2128, allocations: 127.6 kB / 0.7092 GB, free: 6.113 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: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001487/0.2143, allocations: 0.9555 MB / 0.7101 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.2148, allocations: 166.1 kB / 0.7103 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2148, allocations: 4 kB / 0.7103 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.215, allocations: 76.09 kB / 0.7103 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2155, allocations: 40.94 kB / 0.7104 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.2188, allocations: 2.059 MB / 0.7124 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.2191, allocations: 0.7126 MB / 0.7131 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.2193, allocations: 32.55 kB / 0.7131 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2194, allocations: 39.42 kB / 0.7131 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.2194, allocations: 0 / 0.7131 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.2493, allocations: 6.131 MB / 0.7191 GB, free: 11.94 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.132, allocations: 10.78 kB / 0.7191 GB, free: 11.93 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.789679983005044] Failed to read output from testmodel.py, exit status != 0: 8.198859502997948 8.212810886 8.01064637 Calling exit ...