Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007826/0.0007826, 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.0007784/0.0007784, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.905/0.905, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.727e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003529/0.003556, allocations: 1.994 MB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.00565, allocations: 1.515 MB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.005731, allocations: 4 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 6.438e-05/0.005795, allocations: 15.8 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.583e-05/0.005891, allocations: 51.44 kB / 0.954 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.006882, allocations: 370.5 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.007149, allocations: 231 kB / 0.9546 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.007497, allocations: 41.58 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.007624, allocations: 119.8 kB / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.007741, allocations: 67.83 kB / 0.9548 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.007771, allocations: 23.94 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.008487, allocations: 403.4 kB / 0.9552 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.008529, allocations: 47.81 kB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.008597, allocations: 63.89 kB / 0.9553 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.009161, allocations: 498.6 kB / 0.9558 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.009167, allocations: 3.938 kB / 0.9558 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.964e-06/0.009169, allocations: 0 / 0.9558 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.009175, allocations: 0 / 0.9558 GB, free: 14.07 MB / 0.9167 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.0006362/0.009811, allocations: 457.2 kB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.009854, allocations: 8.031 kB / 0.9562 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.009899, allocations: 54.73 kB / 0.9563 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.01023, allocations: 92.67 kB / 0.9564 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.01034, allocations: 121.6 kB / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.01044, allocations: 79.94 kB / 0.9566 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.01047, allocations: 12.38 kB / 0.9566 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.01084, allocations: 245.4 kB / 0.9568 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.01085, allocations: 192 / 0.9568 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.01087, allocations: 8.375 kB / 0.9568 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.01088, allocations: 7.938 kB / 0.9568 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.01107, allocations: 131.9 kB / 0.9569 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009995/0.01207, allocations: 0.6374 MB / 0.9576 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.01309, allocations: 326.3 kB / 0.9579 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.01323, allocations: 79.58 kB / 0.9579 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.01352, allocations: 75.89 kB / 0.958 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.01356, allocations: 42.5 kB / 0.9581 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 2.876e-06/0.01356, allocations: 0 / 0.9581 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.001063/0.01462, allocations: 379.5 kB / 0.9584 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.01466, allocations: 55.41 kB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.01479, allocations: 160.2 kB / 0.9586 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.01482, allocations: 25.7 kB / 0.9587 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.01488, allocations: 123.9 kB / 0.9588 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.01492, allocations: 51.53 kB / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.01498, allocations: 37.7 kB / 0.9589 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.01506, allocations: 330.8 kB / 0.9592 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.0152, allocations: 79.95 kB / 0.9592 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01532, allocations: 85.84 kB / 0.9593 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01555, allocations: 146.9 kB / 0.9595 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01555, allocations: 0 / 0.9595 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005333/0.01609, allocations: 298.2 kB / 0.9598 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.01611, allocations: 8 kB / 0.9598 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01611, allocations: 0 / 0.9598 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.01654, allocations: 125.5 kB / 0.9599 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.01711, allocations: 104 kB / 0.96 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005663/0.01767, allocations: 0.642 MB / 0.9606 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.01806, allocations: 23.88 kB / 0.9606 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01807, allocations: 4 kB / 0.9606 GB, free: 8.844 MB / 0.9167 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 9.772e-05/0.01817, allocations: 118 kB / 0.9607 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.0182, allocations: 23.83 kB / 0.9608 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.01877, allocations: 293.1 kB / 0.961 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.01878, allocations: 0 / 0.961 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.01879, allocations: 3.984 kB / 0.9611 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01879, allocations: 0 / 0.9611 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.01991, allocations: 0.6793 MB / 0.9617 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01991, allocations: 0 / 0.9617 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.02043, allocations: 100 kB / 0.9618 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.02074, allocations: 120.7 kB / 0.9619 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.02075, allocations: 8 kB / 0.9619 GB, free: 7.434 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004688/0.02122, allocations: 0.6264 MB / 0.9625 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02122, allocations: 8 kB / 0.9626 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.02171, allocations: 368.8 kB / 0.9629 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.02174, allocations: 11.95 kB / 0.9629 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.02177, allocations: 8 kB / 0.9629 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.02188, allocations: 15.97 kB / 0.9629 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.02191, allocations: 11.98 kB / 0.963 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.02192, allocations: 8 kB / 0.963 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.715e-05/0.02199, allocations: 118.1 kB / 0.9631 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.02199, allocations: 0 / 0.9631 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003713/0.02236, allocations: 135.5 kB / 0.9632 GB, free: 6.09 MB / 0.9167 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.001006/0.02336, allocations: 1.034 MB / 0.9642 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005799/0.02394, allocations: 226 kB / 0.9644 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02395, allocations: 0 / 0.9644 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.02421, allocations: 131.8 kB / 0.9646 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.02455, allocations: 44.03 kB / 0.9646 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.02697, allocations: 2.219 MB / 0.9668 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.02703, allocations: 94.94 kB / 0.9669 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.861e-05/0.02713, allocations: 28.73 kB / 0.9669 GB, free: 2.176 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.0272, allocations: 36.48 kB / 0.9669 GB, free: 2.141 MB / 0.9167 GB Notification: Performance of SimCode: time 1.002e-06/0.0272, allocations: 8 kB / 0.9669 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.05201, allocations: 7.68 MB / 0.9744 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/8.623, allocations: 14.7 kB / 0.9744 GB, free: 10.67 MB / 0.9323 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.720438887365162] Failed to read output from testmodel.py, exit status != 0: 8.718360318802297 8.731545309 8.719116884 Calling exit ...