Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.0008142/0.0008142, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008489/0.0008489, allocations: 217.7 kB / 22.26 MB, free: 3.699 MB / 13.93 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 0.9622/0.9622, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8021/0.8021, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001656/0.001656, allocations: 71.41 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5557/0.5573, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002733/0.56, allocations: 2.065 MB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.562, allocations: 1.683 MB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.5621, allocations: 3.094 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.5622, allocations: 18 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.628e-05/0.5622, allocations: 49.5 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.5631, allocations: 356 kB / 0.8219 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.5633, allocations: 222.9 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.5635, allocations: 41.02 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.5636, allocations: 91.53 kB / 0.8223 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.5638, allocations: 86.34 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.5638, allocations: 17.22 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007215/0.5646, allocations: 420.9 kB / 0.8228 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.5646, allocations: 49.11 kB / 0.8228 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.81e-05/0.5647, allocations: 87.78 kB / 0.8229 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005634/0.5653, allocations: 422 kB / 0.8233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5653, allocations: 0.9375 kB / 0.8233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5653, allocations: 0 / 0.8233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.5653, allocations: 3.938 kB / 0.8233 GB, free: 13.85 MB / 0.6198 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.0007445/0.566, allocations: 454 kB / 0.8237 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5661, allocations: 13.66 kB / 0.8238 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.5661, allocations: 48 kB / 0.8238 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.5677, allocations: 323.2 kB / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.5678, allocations: 126 kB / 0.8242 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.568, allocations: 79.34 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.568, allocations: 14.34 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009062/0.5689, allocations: 339.7 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5689, allocations: 4.609 kB / 0.8246 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.5689, allocations: 6.875 kB / 0.8247 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5689, allocations: 2.688 kB / 0.8247 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.5701, allocations: 369.5 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.5714, allocations: 0.8207 MB / 0.8258 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.5738, allocations: 0.6495 MB / 0.8264 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.5744, allocations: 198.2 kB / 0.8266 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.5745, allocations: 17.05 kB / 0.8266 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.5745, allocations: 40.38 kB / 0.8267 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/0.5745, allocations: 0 / 0.8267 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002402/0.5769, allocations: 0.7122 MB / 0.8274 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.577, allocations: 54.62 kB / 0.8274 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.5771, allocations: 160.3 kB / 0.8276 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.5771, allocations: 26.89 kB / 0.8276 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.5772, allocations: 118.5 kB / 0.8277 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.5772, allocations: 55.48 kB / 0.8278 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.5773, allocations: 45.56 kB / 0.8278 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.5774, allocations: 333.5 kB / 0.8281 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.578, allocations: 199.1 kB / 0.8283 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.5786, allocations: 199.6 kB / 0.8285 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.5797, allocations: 351.8 kB / 0.8289 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5797, allocations: 0.5625 kB / 0.8289 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001548/0.5812, allocations: 0.51 MB / 0.8294 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5813, allocations: 5.375 kB / 0.8294 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5813, allocations: 4.688 kB / 0.8294 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.5817, allocations: 121.2 kB / 0.8295 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.5826, allocations: 155 kB / 0.8296 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005522/0.5831, allocations: 0.6236 MB / 0.8302 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.5834, allocations: 71.41 kB / 0.8303 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5835, allocations: 12.72 kB / 0.8303 GB, free: 10.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.5836, allocations: 125.2 kB / 0.8304 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.5836, allocations: 14.95 kB / 0.8304 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.5852, allocations: 0.5356 MB / 0.831 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5852, allocations: 2.344 kB / 0.831 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5852, allocations: 0.8438 kB / 0.831 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5852, allocations: 1.75 kB / 0.831 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.5879, allocations: 1.039 MB / 0.832 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5879, allocations: 1.375 kB / 0.832 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.5886, allocations: 145.9 kB / 0.8321 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.5889, allocations: 124.9 kB / 0.8323 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.589, allocations: 10.69 kB / 0.8323 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007794/0.5897, allocations: 0.6321 MB / 0.8329 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5898, allocations: 1.156 kB / 0.8329 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.5912, allocations: 0.561 MB / 0.8334 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.5912, allocations: 18.03 kB / 0.8334 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.5913, allocations: 2.438 kB / 0.8334 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.5916, allocations: 60.3 kB / 0.8335 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.5916, allocations: 9.547 kB / 0.8335 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.5916, allocations: 8.5 kB / 0.8335 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.5917, allocations: 121 kB / 0.8336 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5917, allocations: 1.562 kB / 0.8336 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004348/0.5921, allocations: 134.3 kB / 0.8338 GB, free: 8.484 MB / 0.6198 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/0.594, allocations: 1.21 MB / 0.8349 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.5955, allocations: 447.9 kB / 0.8354 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5955, allocations: 1.125 kB / 0.8354 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.5962, allocations: 239.9 kB / 0.8356 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.5966, allocations: 50.34 kB / 0.8357 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.6018, allocations: 2.964 MB / 0.8385 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.602, allocations: 0.7132 MB / 0.8392 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.6022, allocations: 40.22 kB / 0.8393 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.6023, allocations: 55.77 kB / 0.8393 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.6023, allocations: 0 / 0.8393 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.624, allocations: 8.357 MB / 0.8475 GB, free: 332 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.496, allocations: 11.97 kB / 0.8475 GB, free: 324 kB / 0.6198 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.645642830990255] Failed to read output from testmodel.py, exit status != 0: 8.59196634707041 8.603700664 8.033177216 Calling exit ...