Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001369/0.001369, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001592/0.001592, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.417/1.417, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002477/0.002477, allocations: 237.8 kB / 259.4 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.062/1.062, allocations: 138.4 MB / 454.3 MB, free: 1.977 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.657e-05, allocations: 9.875 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00314/0.003166, allocations: 1.974 MB / 0.6487 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.005743, allocations: 1.531 MB / 0.6502 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.005814, allocations: 0 / 0.6502 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.744e-05/0.005882, allocations: 23.84 kB / 0.6502 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.005998, allocations: 47.5 kB / 0.6503 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.007091, allocations: 362.6 kB / 0.6506 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.007358, allocations: 231 kB / 0.6509 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.007489, allocations: 37.59 kB / 0.6509 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.00767, allocations: 127.8 kB / 0.651 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.007815, allocations: 71.78 kB / 0.6511 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.007853, allocations: 20 kB / 0.6511 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008597/0.008712, allocations: 411.3 kB / 0.6515 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.008767, allocations: 39.89 kB / 0.6515 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.008866, allocations: 67.89 kB / 0.6516 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2627/0.2716, allocations: 481.6 kB / 0.6521 GB, free: 53.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2716, allocations: 4.406 kB / 0.6521 GB, free: 53.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2716, allocations: 0 / 0.6521 GB, free: 53.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2716, allocations: 0 / 0.6521 GB, free: 53.78 MB / 0.5606 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.0007186/0.2723, allocations: 454.6 kB / 0.6525 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2723, allocations: 12.25 kB / 0.6525 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.2729, allocations: 90.95 kB / 0.6526 GB, free: 53.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.609e-05/0.273, allocations: 124.8 kB / 0.6527 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.2731, allocations: 75 kB / 0.6528 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.2731, allocations: 17.34 kB / 0.6528 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.2735, allocations: 242.9 kB / 0.653 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2735, allocations: 0.8438 kB / 0.653 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.2736, allocations: 8.344 kB / 0.653 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.2736, allocations: 8.594 kB / 0.653 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.2739, allocations: 132.2 kB / 0.6532 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.275, allocations: 0.5869 MB / 0.6537 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.2771, allocations: 326.4 kB / 0.6541 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.2773, allocations: 75.84 kB / 0.6541 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/0.2778, allocations: 72.92 kB / 0.6542 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2778, allocations: 32.06 kB / 0.6542 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.414e-06/0.2778, allocations: 0.9844 kB / 0.6542 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.001656/0.2795, allocations: 388.2 kB / 0.6546 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.2795, allocations: 52.12 kB / 0.6546 GB, free: 52.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.2796, allocations: 129.5 kB / 0.6548 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.2796, allocations: 36.77 kB / 0.6548 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.2797, allocations: 127 kB / 0.6549 GB, free: 52.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.2797, allocations: 51.83 kB / 0.655 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.2798, allocations: 41.36 kB / 0.655 GB, free: 52.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.2798, allocations: 323.6 kB / 0.6553 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.28, allocations: 75.44 kB / 0.6554 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.2802, allocations: 88.02 kB / 0.6555 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.2806, allocations: 161.6 kB / 0.6556 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2806, allocations: 0 / 0.6556 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008564/0.2815, allocations: 288.3 kB / 0.6559 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2815, allocations: 3.094 kB / 0.6559 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2815, allocations: 0 / 0.6559 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.282, allocations: 125.7 kB / 0.656 GB, free: 52.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.2833, allocations: 108.7 kB / 0.6561 GB, free: 52.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007166/0.284, allocations: 0.6183 MB / 0.6567 GB, free: 51.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.2842, allocations: 38.36 kB / 0.6568 GB, free: 51.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2842, allocations: 6.344 kB / 0.6568 GB, free: 51.52 MB / 0.5606 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.487e-05/0.2843, allocations: 119.4 kB / 0.6569 GB, free: 51.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.2844, allocations: 14.81 kB / 0.6569 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008357/0.2852, allocations: 288.3 kB / 0.6572 GB, free: 51.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2852, allocations: 7.219 kB / 0.6572 GB, free: 51.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2852, allocations: 0 / 0.6572 GB, free: 51.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2852, allocations: 0 / 0.6572 GB, free: 51.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.2868, allocations: 0.6497 MB / 0.6578 GB, free: 51.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2868, allocations: 6.672 kB / 0.6578 GB, free: 51.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.2881, allocations: 92.67 kB / 0.6579 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.2885, allocations: 128 kB / 0.658 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2885, allocations: 4.156 kB / 0.658 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006585/0.2892, allocations: 0.6282 MB / 0.6587 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2892, allocations: 3.312 kB / 0.6587 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.29, allocations: 365.5 kB / 0.659 GB, free: 50.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.29, allocations: 7.234 kB / 0.659 GB, free: 50.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.2901, allocations: 6.5 kB / 0.659 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2903, allocations: 22.34 kB / 0.659 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.2903, allocations: 17.72 kB / 0.6591 GB, free: 50.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2903, allocations: 6.344 kB / 0.6591 GB, free: 50.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.2904, allocations: 92.3 kB / 0.6592 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2904, allocations: 0 / 0.6592 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004685/0.2909, allocations: 139.3 kB / 0.6593 GB, free: 50.2 MB / 0.5606 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.0003966/0.2912, allocations: 244.7 kB / 0.6595 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008809/0.2921, allocations: 225.4 kB / 0.6597 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2921, allocations: 3.281 kB / 0.6597 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.2927, allocations: 126.7 kB / 0.6599 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.2931, allocations: 32.39 kB / 0.6599 GB, free: 49.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.2937, allocations: 325.5 kB / 0.6602 GB, free: 49.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.2938, allocations: 93.14 kB / 0.6603 GB, free: 49.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.058e-05/0.2939, allocations: 19.08 kB / 0.6603 GB, free: 49.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.2939, allocations: 18.44 kB / 0.6603 GB, free: 49.68 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2939, allocations: 0 / 0.6603 GB, free: 49.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.007648/0.3015, allocations: 4.481 MB / 0.6647 GB, free: 49.26 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.985988739877939] Failed to read output from testmodel.py, exit status != 0: 0.3093697391450405 0.320258731 0.046002554 Calling exit ...