Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000854/0.000854, 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.0008521/0.0008521, allocations: 169.9 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.9081/0.9081, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.727/1.727, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.031e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003304/0.003325, allocations: 1.976 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.005517, allocations: 1.522 MB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.005582, allocations: 0 / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.315e-05/0.005655, allocations: 23.78 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.005769, allocations: 55.48 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.006748, allocations: 362.6 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.00699, allocations: 231 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.007136, allocations: 37.64 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.007279, allocations: 123.8 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.007407, allocations: 71.83 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.007438, allocations: 20 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.008097, allocations: 407.3 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.00814, allocations: 39.89 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.008213, allocations: 63.89 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.008796, allocations: 482.7 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.008799, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.232e-06/0.0088, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.008804, allocations: 4 kB / 1.005 GB, free: 8.098 MB / 0.9636 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.000744/0.009548, allocations: 463.4 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.009592, allocations: 8.75 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.009648, allocations: 50.73 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.01186, allocations: 324.4 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.01197, allocations: 125.6 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.401e-05/0.01206, allocations: 79.95 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.0121, allocations: 12.38 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.01325, allocations: 382.8 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01326, allocations: 4.125 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.0133, allocations: 8.375 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01331, allocations: 11.94 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.01497, allocations: 368.2 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.01642, allocations: 0.7645 MB / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.01869, allocations: 0.6385 MB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.01925, allocations: 200.7 kB / 1.008 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.01934, allocations: 19.98 kB / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.01936, allocations: 38.5 kB / 1.008 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.01936, allocations: 0 / 1.008 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.002248/0.02161, allocations: 0.7138 MB / 1.009 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.02164, allocations: 55.41 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.02174, allocations: 160.8 kB / 1.009 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.02178, allocations: 37.64 kB / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.02184, allocations: 111.9 kB / 1.009 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.02188, allocations: 59.52 kB / 1.009 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.02195, allocations: 41.69 kB / 1.009 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.02204, allocations: 330.8 kB / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.0226, allocations: 203.8 kB / 1.01 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.02316, allocations: 199.8 kB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.02416, allocations: 350.8 kB / 1.01 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02416, allocations: 4 kB / 1.01 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00132/0.02548, allocations: 0.498 MB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.0255, allocations: 4 kB / 1.011 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.0255, allocations: 0 / 1.011 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.02586, allocations: 127.7 kB / 1.011 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.02663, allocations: 155.8 kB / 1.011 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004903/0.02712, allocations: 0.6303 MB / 1.012 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.02742, allocations: 67.86 kB / 1.012 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.02744, allocations: 11.98 kB / 1.012 GB, free: 0.6719 MB / 0.9636 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.796e-05/0.02754, allocations: 121.8 kB / 1.012 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.02757, allocations: 15.91 kB / 1.012 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.02903, allocations: 0.5301 MB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02903, allocations: 0 / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.02904, allocations: 4 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02904, allocations: 0 / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.03157, allocations: 0.9953 MB / 1.014 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03157, allocations: 4.031 kB / 1.014 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.0323, allocations: 143.8 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.03258, allocations: 124.7 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.0326, allocations: 7.984 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004329/0.03304, allocations: 0.6381 MB / 1.014 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.03304, allocations: 0 / 1.014 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.03436, allocations: 0.5601 MB / 1.015 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.03438, allocations: 11.91 kB / 1.015 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.03441, allocations: 4 kB / 1.015 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.03472, allocations: 63.92 kB / 1.015 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.03474, allocations: 11.97 kB / 1.015 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.03476, allocations: 11.98 kB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.03482, allocations: 115.3 kB / 1.015 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03482, allocations: 0 / 1.015 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003401/0.03516, allocations: 127.6 kB / 1.015 GB, free: 13.07 MB / 0.9792 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.001783/0.03695, allocations: 1.227 MB / 1.017 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.03833, allocations: 455.8 kB / 1.017 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.03833, allocations: 3.938 kB / 1.017 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/0.03903, allocations: 238.8 kB / 1.017 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.03937, allocations: 54.31 kB / 1.017 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.04448, allocations: 2.925 MB / 1.02 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.191e-05/0.04455, allocations: 98.92 kB / 1.02 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.04473, allocations: 48.86 kB / 1.02 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.04486, allocations: 52.45 kB / 1.02 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of SimCode: time 6.82e-07/0.04486, allocations: 0 / 1.02 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.06732, allocations: 9.339 MB / 1.029 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.72, allocations: 8.5 kB / 1.029 GB, free: 14.73 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.877776619046926] Failed to read output from testmodel.py, exit status != 0: 7.812365619465709 7.824266711 7.813805354 Calling exit ...