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.0008434/0.0008434, 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.0008575/0.0008575, 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.9331/0.9331, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.981 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.619e-05, allocations: 2.281 kB / 0.981 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002078/0.002094, allocations: 1.977 MB / 0.9829 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003595, allocations: 1.522 MB / 0.9844 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.003645, allocations: 0 / 0.9844 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.513e-05/0.00369, allocations: 19.8 kB / 0.9844 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.003762, allocations: 51.48 kB / 0.9845 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.004447, allocations: 374.6 kB / 0.9848 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004604, allocations: 227 kB / 0.985 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004725, allocations: 45.62 kB / 0.9851 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.00483, allocations: 127.7 kB / 0.9852 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.004924, allocations: 59.86 kB / 0.9852 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.004949, allocations: 20 kB / 0.9853 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.005419, allocations: 419.3 kB / 0.9857 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.00545, allocations: 39.89 kB / 0.9857 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.005498, allocations: 63.89 kB / 0.9858 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.00592, allocations: 486.6 kB / 0.9862 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005922, allocations: 0 / 0.9862 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005923, allocations: 4 kB / 0.9862 GB, free: 12 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005927, allocations: 0 / 0.9862 GB, free: 12 MB / 0.9011 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.0007009/0.006628, allocations: 461.1 kB / 0.9867 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.006663, allocations: 15.97 kB / 0.9867 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.006703, allocations: 50.73 kB / 0.9867 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.007002, allocations: 92.73 kB / 0.9868 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.007083, allocations: 121.6 kB / 0.9869 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.007158, allocations: 83.95 kB / 0.987 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.007179, allocations: 12.38 kB / 0.987 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.007463, allocations: 242 kB / 0.9873 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007472, allocations: 192 / 0.9873 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.007491, allocations: 12.38 kB / 0.9873 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.007497, allocations: 3.938 kB / 0.9873 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.00768, allocations: 132.8 kB / 0.9874 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.00854, allocations: 0.6298 MB / 0.988 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.009467, allocations: 318.3 kB / 0.9883 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.009585, allocations: 77.11 kB / 0.9884 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.009805, allocations: 75.91 kB / 0.9885 GB, free: 9.555 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.009828, allocations: 46.44 kB / 0.9885 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.00983, allocations: 4 kB / 0.9885 GB, free: 9.496 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0008815/0.01071, allocations: 378.1 kB / 0.9889 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.01074, allocations: 51.41 kB / 0.9889 GB, free: 9.055 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.01083, allocations: 168 kB / 0.9891 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.01085, allocations: 25.7 kB / 0.9891 GB, free: 8.852 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.0109, allocations: 119.9 kB / 0.9892 GB, free: 8.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.01093, allocations: 47.58 kB / 0.9893 GB, free: 8.684 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.01098, allocations: 41.64 kB / 0.9893 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.01105, allocations: 326.8 kB / 0.9896 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.01118, allocations: 91.89 kB / 0.9897 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01129, allocations: 80.81 kB / 0.9898 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01152, allocations: 155 kB / 0.9899 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01152, allocations: 0 / 0.9899 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004632/0.01198, allocations: 296.3 kB / 0.9902 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.012, allocations: 4 kB / 0.9902 GB, free: 7.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.012, allocations: 3.938 kB / 0.9902 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.01233, allocations: 123.4 kB / 0.9903 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.01286, allocations: 104 kB / 0.9904 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004549/0.01331, allocations: 0.6303 MB / 0.9911 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.01339, allocations: 23.88 kB / 0.9911 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.0134, allocations: 11.98 kB / 0.9911 GB, free: 6.77 MB / 0.9011 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 8.115e-05/0.01349, allocations: 121.8 kB / 0.9912 GB, free: 6.641 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.01351, allocations: 11.95 kB / 0.9912 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.01399, allocations: 289.8 kB / 0.9915 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.014, allocations: 4 kB / 0.9915 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.014, allocations: 3.938 kB / 0.9915 GB, free: 6.336 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01401, allocations: 3.984 kB / 0.9915 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/0.01495, allocations: 0.6755 MB / 0.9922 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01495, allocations: 0 / 0.9922 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.01546, allocations: 99.95 kB / 0.9923 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.01572, allocations: 124.9 kB / 0.9924 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01573, allocations: 4 kB / 0.9924 GB, free: 5.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004047/0.01614, allocations: 0.6342 MB / 0.993 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01614, allocations: 0 / 0.993 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.01659, allocations: 373.7 kB / 0.9934 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.0166, allocations: 11.95 kB / 0.9934 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01663, allocations: 4 kB / 0.9934 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.01672, allocations: 19.97 kB / 0.9934 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.01675, allocations: 11.92 kB / 0.9934 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.01676, allocations: 8 kB / 0.9934 GB, free: 4.266 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001936/0.01696, allocations: 121.5 kB / 0.9935 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/0.01696, allocations: 0 / 0.9935 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000274/0.01723, allocations: 135.5 kB / 0.9937 GB, free: 4.016 MB / 0.9011 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.0008406/0.01807, allocations: 1.031 MB / 0.9947 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.01854, allocations: 223.8 kB / 0.9949 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01854, allocations: 0 / 0.9949 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.01879, allocations: 127.8 kB / 0.995 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01907, allocations: 44.03 kB / 0.995 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.02114, allocations: 2.212 MB / 0.9972 GB, free: 256 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.819e-05/0.0212, allocations: 102.9 kB / 0.9973 GB, free: 132 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.828e-05/0.02127, allocations: 20.11 kB / 0.9973 GB, free: 112 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.02134, allocations: 44.42 kB / 0.9974 GB, free: 68 kB / 0.9011 GB Notification: Performance of SimCode: time 5.21e-07/0.02134, allocations: 0 / 0.9974 GB, free: 68 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.04637, allocations: 7.697 MB / 1.005 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.037, allocations: 8.938 kB / 1.005 GB, free: 8.602 MB / 0.9167 GB " [Timeout remaining time 292] (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: 12.113362533040345] Failed to read output from testmodel.py, exit status != 0: 8.127518597058952 8.135859286 8.128240493 Calling exit ...