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.0012/0.0012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001047/0.001047, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8807/0.8807, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7124/0.7124, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.455e-05, allocations: 5.234 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002369/0.002383, allocations: 1.971 MB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003876, allocations: 1.511 MB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.003924, allocations: 4 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.113e-05/0.003975, allocations: 19.78 kB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.004049, allocations: 55.55 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.004744, allocations: 362.5 kB / 0.6219 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.004906, allocations: 227 kB / 0.6221 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005025, allocations: 37.66 kB / 0.6221 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.005133, allocations: 127.8 kB / 0.6222 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.005223, allocations: 67.83 kB / 0.6223 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.005248, allocations: 20 kB / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.005718, allocations: 407.4 kB / 0.6227 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.005746, allocations: 39.89 kB / 0.6228 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.005795, allocations: 67.89 kB / 0.6228 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.006204, allocations: 482.6 kB / 0.6233 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006206, allocations: 0 / 0.6233 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006207, allocations: 0 / 0.6233 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.006211, allocations: 4 kB / 0.6233 GB, free: 8.363 MB / 0.5886 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.0005393/0.00675, allocations: 457.2 kB / 0.6237 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.006785, allocations: 9.469 kB / 0.6237 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.006825, allocations: 54.73 kB / 0.6238 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.008209, allocations: 320.4 kB / 0.6241 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.008298, allocations: 129.6 kB / 0.6242 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/0.008372, allocations: 71.95 kB / 0.6243 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.008404, allocations: 16.38 kB / 0.6243 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.009137, allocations: 385.3 kB / 0.6247 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.009145, allocations: 192 / 0.6247 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.009169, allocations: 4.375 kB / 0.6247 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.009176, allocations: 7.938 kB / 0.6247 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.01021, allocations: 379.5 kB / 0.625 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.01146, allocations: 0.7645 MB / 0.6258 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.01364, allocations: 0.6346 MB / 0.6264 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.01418, allocations: 200.6 kB / 0.6266 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.518e-05/0.01426, allocations: 15.98 kB / 0.6266 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.01428, allocations: 46.5 kB / 0.6266 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.01428, allocations: 0 / 0.6266 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.00217/0.01645, allocations: 0.7183 MB / 0.6274 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.01647, allocations: 59.34 kB / 0.6274 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.01657, allocations: 150.4 kB / 0.6276 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.01659, allocations: 29.7 kB / 0.6276 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.01665, allocations: 119.9 kB / 0.6277 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.01668, allocations: 59.45 kB / 0.6277 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.01675, allocations: 41.69 kB / 0.6278 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.01683, allocations: 330.8 kB / 0.6281 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.01738, allocations: 199.8 kB / 0.6283 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.01792, allocations: 206.2 kB / 0.6285 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009919/0.01891, allocations: 350.6 kB / 0.6288 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01892, allocations: 4 kB / 0.6288 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001308/0.02022, allocations: 0.5019 MB / 0.6293 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.02024, allocations: 4 kB / 0.6293 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.02024, allocations: 0 / 0.6293 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.02057, allocations: 120.7 kB / 0.6294 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.02132, allocations: 155.9 kB / 0.6296 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000483/0.02181, allocations: 0.6342 MB / 0.6302 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.02209, allocations: 63.86 kB / 0.6303 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.02211, allocations: 11.98 kB / 0.6303 GB, free: 0.9375 MB / 0.5886 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.0001067/0.02222, allocations: 125.5 kB / 0.6304 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.02225, allocations: 15.91 kB / 0.6304 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.02367, allocations: 0.5334 MB / 0.6309 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.02367, allocations: 0 / 0.6309 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.02368, allocations: 0 / 0.6309 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.02368, allocations: 0 / 0.6309 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.02604, allocations: 0.9992 MB / 0.6319 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.02604, allocations: 0 / 0.6319 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.02677, allocations: 151.9 kB / 0.6321 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.02704, allocations: 124.1 kB / 0.6322 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.02707, allocations: 15.92 kB / 0.6322 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/0.02774, allocations: 0.6342 MB / 0.6328 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02774, allocations: 4 kB / 0.6328 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.02903, allocations: 0.5562 MB / 0.6334 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.02905, allocations: 15.84 kB / 0.6334 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.02908, allocations: 11.94 kB / 0.6334 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.02938, allocations: 51.92 kB / 0.6334 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.02941, allocations: 19.97 kB / 0.6335 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.02943, allocations: 7.984 kB / 0.6335 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.02948, allocations: 111.3 kB / 0.6336 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02948, allocations: 0 / 0.6336 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003229/0.0298, allocations: 127.6 kB / 0.6337 GB, free: 13.33 MB / 0.6042 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.001716/0.03152, allocations: 1.226 MB / 0.6349 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.03287, allocations: 451.5 kB / 0.6353 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03287, allocations: 0 / 0.6353 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.03358, allocations: 239.7 kB / 0.6355 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.03391, allocations: 49.91 kB / 0.6356 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.03896, allocations: 2.959 MB / 0.6385 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.418e-05/0.03902, allocations: 98.94 kB / 0.6386 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.0392, allocations: 48.61 kB / 0.6386 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.03932, allocations: 52.45 kB / 0.6387 GB, free: 8.074 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/0.03932, allocations: 4 kB / 0.6387 GB, free: 8.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.05974, allocations: 9.34 MB / 0.6478 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/7.898, allocations: 3.188 kB / 0.6478 GB, free: 15.04 MB / 0.6198 GB " [Timeout remaining time 652] (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 os._exit(0), Time elapsed: 10.694627437740564] Failed to read output from testmodel.py, exit status != 0: 7.993581124581397 8.005772717 7.997745706 Calling exit ...