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.001078/0.001078, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001058/0.001058, allocations: 165.9 kB / 22.46 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.8685/0.8685, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.746/1.746, allocations: 389 MB / 0.633 GB, free: 12.69 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 1.313e-06/1.313e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.256e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002009/0.002022, allocations: 1.991 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.003589, allocations: 1.514 MB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.003635, allocations: 0 / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.003682, allocations: 15.86 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.003755, allocations: 55.48 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.004424, allocations: 366.6 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004583, allocations: 227 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004699, allocations: 41.58 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.004806, allocations: 131.7 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.736e-05/0.004893, allocations: 67.86 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.004916, allocations: 16 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.005367, allocations: 403.4 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.005402, allocations: 47.88 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.005449, allocations: 63.89 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.005851, allocations: 478.7 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005853, allocations: 0 / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005854, allocations: 0 / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.005858, allocations: 0 / 1.005 GB, free: 8.113 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.0005368/0.006394, allocations: 461.2 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.00643, allocations: 12.75 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.006469, allocations: 50.73 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.007841, allocations: 320.4 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.007921, allocations: 125.6 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/0.00799, allocations: 79.89 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.00802, allocations: 12.38 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007287/0.008749, allocations: 390.8 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.008756, allocations: 192 / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.00878, allocations: 8.375 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.008786, allocations: 7.938 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.009815, allocations: 368.2 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.01082, allocations: 0.7645 MB / 1.007 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.01295, allocations: 0.6346 MB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.01348, allocations: 204.9 kB / 1.008 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.729e-05/0.01354, allocations: 11.98 kB / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.01357, allocations: 46.44 kB / 1.008 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.01357, allocations: 4 kB / 1.008 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.002164/0.01573, allocations: 0.7087 MB / 1.009 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.01576, allocations: 55.41 kB / 1.009 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.01585, allocations: 160.8 kB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01588, allocations: 29.7 kB / 1.009 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.01593, allocations: 115.9 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.01596, allocations: 47.59 kB / 1.009 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.01603, allocations: 49.67 kB / 1.009 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.0161, allocations: 322.8 kB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.01665, allocations: 207.8 kB / 1.01 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.01718, allocations: 209.8 kB / 1.01 GB, free: 2.559 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.01816, allocations: 354.7 kB / 1.01 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01816, allocations: 0 / 1.01 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001274/0.01943, allocations: 0.5059 MB / 1.011 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01944, allocations: 4 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01945, allocations: 4 kB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.01978, allocations: 119.2 kB / 1.011 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.02052, allocations: 155.9 kB / 1.011 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004642/0.02098, allocations: 0.6342 MB / 1.012 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.02126, allocations: 63.86 kB / 1.012 GB, free: 0.6953 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.02128, allocations: 11.98 kB / 1.012 GB, free: 0.6836 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.005e-05/0.02137, allocations: 125.8 kB / 1.012 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.0214, allocations: 11.91 kB / 1.012 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.02277, allocations: 0.5353 MB / 1.013 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.02279, allocations: 4.047 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02279, allocations: 0 / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.02279, allocations: 0 / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.02507, allocations: 0.9914 MB / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02507, allocations: 0 / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.02579, allocations: 155.8 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.02605, allocations: 120.9 kB / 1.014 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.02607, allocations: 8 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004082/0.02648, allocations: 0.6342 MB / 1.014 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02648, allocations: 0 / 1.014 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.02776, allocations: 0.56 MB / 1.015 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.02778, allocations: 15.91 kB / 1.015 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.02781, allocations: 4 kB / 1.015 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.0281, allocations: 59.91 kB / 1.015 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.02813, allocations: 11.98 kB / 1.015 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.02814, allocations: 11.92 kB / 1.015 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.0282, allocations: 119.2 kB / 1.015 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.0282, allocations: 0 / 1.015 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002946/0.02849, 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.001685/0.03018, allocations: 1.226 MB / 1.017 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.03147, allocations: 456 kB / 1.017 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03147, allocations: 4 kB / 1.017 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.03216, allocations: 243.6 kB / 1.017 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.03245, allocations: 58.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.004816/0.03727, allocations: 2.913 MB / 1.02 GB, free: 8.062 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.711e-05/0.03732, allocations: 98.88 kB / 1.02 GB, free: 7.945 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.03748, allocations: 52.61 kB / 1.02 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.03761, allocations: 52.45 kB / 1.02 GB, free: 7.844 MB / 0.9792 GB Notification: Performance of SimCode: time 5.31e-07/0.03761, allocations: 0 / 1.02 GB, free: 7.844 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.05743, allocations: 9.325 MB / 1.029 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/7.968, allocations: 4.062 kB / 1.029 GB, free: 14.75 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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: 12.162351806648076] Failed to read output from testmodel.py, exit status != 0: 8.059382723644376 8.0694401 8.061053002 Calling exit ...