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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7606/0.7606, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 178.4 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007148/0.0007147, allocations: 93.48 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002742/0.002742, allocations: 270.6 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.000524, allocations: 19.98 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4343, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.5811, allocations: 113.7 MB / 0.8505 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.5815, allocations: 87.94 kB / 0.8506 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02495/0.6064, allocations: 8.108 MB / 0.8585 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6065, allocations: 0 / 0.8585 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.6065, allocations: 4 kB / 0.8585 GB, free: 4.285 MB / 0.5261 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.0009373/0.6074, allocations: 499.1 kB / 0.859 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6075, allocations: 12.03 kB / 0.859 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/0.608, allocations: 84.67 kB / 0.8591 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.6082, allocations: 188 kB / 0.8593 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.693e-05/0.6083, allocations: 54.27 kB / 0.8593 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.6083, allocations: 12.38 kB / 0.8593 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.6088, allocations: 186 kB / 0.8595 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6088, allocations: 3.938 kB / 0.8595 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.6088, allocations: 4 kB / 0.8595 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.6089, allocations: 4 kB / 0.8595 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.6093, allocations: 191.8 kB / 0.8597 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.6108, allocations: 0.9344 MB / 0.8606 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.6113, allocations: 186.5 kB / 0.8608 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.6115, allocations: 81.45 kB / 0.8609 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.6122, allocations: 0.5181 MB / 0.8614 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.6123, allocations: 38.56 kB / 0.8614 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.6123, allocations: 3.938 kB / 0.8614 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0006889/0.613, allocations: 250.9 kB / 0.8617 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.613, allocations: 51.41 kB / 0.8617 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.6132, allocations: 169.6 kB / 0.8619 GB, free: 484 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.6132, allocations: 25.7 kB / 0.8619 GB, free: 452 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.6133, allocations: 119.8 kB / 0.862 GB, free: 328 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.6133, allocations: 43.3 kB / 0.8621 GB, free: 284 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.6133, allocations: 4 kB / 0.8621 GB, free: 280 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6135, allocations: 326.8 kB / 0.8624 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.6137, allocations: 79.95 kB / 0.8624 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.6139, allocations: 96.25 kB / 0.8625 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.6143, allocations: 149.7 kB / 0.8627 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.6143, allocations: 3.938 kB / 0.8627 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004858/0.6148, allocations: 228.5 kB / 0.8629 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6148, allocations: 4 kB / 0.8629 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6148, allocations: 0 / 0.8629 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6149, allocations: 4 kB / 0.8629 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.6151, allocations: 43.91 kB / 0.8629 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6151, allocations: 4 kB / 0.863 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.6153, allocations: 27.77 kB / 0.863 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.6154, allocations: 8 kB / 0.863 GB, free: 15.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.6155, allocations: 129.7 kB / 0.8631 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.6155, allocations: 15.89 kB / 0.8631 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.616, allocations: 204.1 kB / 0.8633 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6161, allocations: 4 kB / 0.8633 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6161, allocations: 7.938 kB / 0.8633 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6161, allocations: 3.984 kB / 0.8633 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.6175, allocations: 0.9857 MB / 0.8643 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6176, allocations: 0 / 0.8643 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.6178, allocations: 32.05 kB / 0.8643 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.6178, allocations: 3.938 kB / 0.8643 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.6178, allocations: 7.984 kB / 0.8643 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.6178, allocations: 0 / 0.8643 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6178, allocations: 0 / 0.8643 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.6184, allocations: 305 kB / 0.8646 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.6184, allocations: 96.94 kB / 0.8647 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.6185, allocations: 4 kB / 0.8647 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.6187, allocations: 19.98 kB / 0.8647 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.6188, allocations: 15.92 kB / 0.8648 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.6188, allocations: 11.92 kB / 0.8648 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.926e-05/0.6189, allocations: 114.7 kB / 0.8649 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6189, allocations: 0 / 0.8649 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005613/0.6194, allocations: 135.8 kB / 0.865 GB, free: 13.02 MB / 0.5417 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005724/0.62, allocations: 239 kB / 0.8652 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004903/0.6205, allocations: 188.6 kB / 0.8654 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6205, allocations: 0 / 0.8654 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.6208, allocations: 83.91 kB / 0.8655 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.6212, allocations: 44.14 kB / 0.8655 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.6219, allocations: 385.4 kB / 0.8659 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.6222, allocations: 0.7053 MB / 0.8666 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000179/0.6224, allocations: 31.31 kB / 0.8666 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.6225, allocations: 23.42 kB / 0.8667 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6225, allocations: 0 / 0.8667 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.008328/0.6308, allocations: 4.016 MB / 0.8706 GB, free: 7.281 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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)