Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001277/0.001277, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001409/0.001409, allocations: 215.2 kB / 22.25 MB, free: 5.102 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.877/2.877, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00188/0.00188, allocations: 66.67 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003441/0.2859, allocations: 1.986 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.2882, allocations: 1.526 MB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.2883, allocations: 4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.637e-05/0.2884, allocations: 19.78 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2885, allocations: 51.56 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/0.2894, allocations: 354.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.2897, allocations: 231.1 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2898, allocations: 33.89 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2899, allocations: 83.78 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.29, allocations: 95.66 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.2901, allocations: 16 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007709/0.2908, allocations: 427.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.2909, allocations: 39.91 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.291, allocations: 75.72 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.2916, allocations: 430.6 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2916, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2916, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2916, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 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.0007922/0.2924, allocations: 457.2 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2924, allocations: 12.03 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.2925, allocations: 50.73 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.293, allocations: 92.73 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2931, allocations: 126.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.2932, allocations: 75.95 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.2933, allocations: 20.31 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.2937, allocations: 249.1 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2937, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.2937, allocations: 12 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2937, allocations: 7.938 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.2941, allocations: 127.9 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2954, allocations: 0.6412 MB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.2974, allocations: 326.2 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.2976, allocations: 76.83 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.2981, allocations: 75.91 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.2981, allocations: 38.56 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.2981, allocations: 0 / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001604/0.2997, allocations: 384.5 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2997, allocations: 55.34 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2999, allocations: 160.7 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.2999, allocations: 25.7 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.3, allocations: 123.9 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.3001, allocations: 55.52 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.3001, allocations: 37.7 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3003, allocations: 326.8 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3005, allocations: 87.91 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.3007, allocations: 81.67 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.3011, allocations: 154.1 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3011, allocations: 4 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008747/0.302, allocations: 287.8 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.302, allocations: 4 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.302, allocations: 4 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.3025, allocations: 128.4 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3036, allocations: 107.9 kB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000839/0.3045, allocations: 0.6304 MB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3047, allocations: 19.88 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3047, allocations: 12 kB / 1.336 GB, free: 6.914 MB / 1.029 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.0001398/0.3048, allocations: 125.8 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.3049, allocations: 19.84 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/0.3057, allocations: 275 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.3057, allocations: 11.98 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3057, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3057, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.3076, allocations: 0.6728 MB / 1.337 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3076, allocations: 0 / 1.337 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.3087, allocations: 104 kB / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/0.3092, allocations: 126.2 kB / 1.337 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.3092, allocations: 8 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008134/0.31, allocations: 0.6303 MB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.31, allocations: 8 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.3109, allocations: 372 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.3109, allocations: 15.89 kB / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.311, allocations: 0 / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3112, allocations: 19.97 kB / 1.338 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3112, allocations: 7.984 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3112, allocations: 4 kB / 1.338 GB, free: 4.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.582e-05/0.3113, allocations: 125.1 kB / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3113, allocations: 0 / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004639/0.3118, allocations: 139.5 kB / 1.339 GB, free: 4.145 MB / 1.029 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.001535/0.3133, allocations: 1.023 MB / 1.339 GB, free: 3.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008553/0.3142, allocations: 219.8 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3142, allocations: 0 / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.3147, allocations: 141.4 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3152, allocations: 35.92 kB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.3189, allocations: 2.215 MB / 1.342 GB, free: 396 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.319, allocations: 94.94 kB / 1.342 GB, free: 280 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.3191, allocations: 28.11 kB / 1.342 GB, free: 256 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.3192, allocations: 39.42 kB / 1.342 GB, free: 216 kB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/0.3192, allocations: 0 / 1.342 GB, free: 216 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04877/0.3679, allocations: 7.62 MB / 1.35 GB, free: 8.816 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.31, allocations: 5.891 kB / 1.35 GB, free: 8.812 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.20094976600376] Failed to read output from testmodel.py, exit status != 0: 12.42567195999436 12.443261501 12.148340523 Calling exit ...