Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 104.1 kB / 16.36 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 196.1 kB / 17.3 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.881/1.881, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2255, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003747/0.2293, allocations: 2.018 MB / 0.7868 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3679/0.5972, allocations: 1.653 MB / 0.7884 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.5974, allocations: 6.25 kB / 0.7884 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.027e-05/0.5975, allocations: 19.75 kB / 0.7884 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.5977, allocations: 48.58 kB / 0.7884 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.5992, allocations: 353.9 kB / 0.7888 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.5996, allocations: 223 kB / 0.789 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.5998, allocations: 53.62 kB / 0.789 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.5999, allocations: 83.03 kB / 0.7891 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.6001, allocations: 86.75 kB / 0.7892 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.6002, allocations: 18.38 kB / 0.7892 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.6013, allocations: 412 kB / 0.7896 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.6014, allocations: 48.09 kB / 0.7897 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.6015, allocations: 83.92 kB / 0.7897 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007434/0.6023, allocations: 428.3 kB / 0.7902 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6023, allocations: 3.812 kB / 0.7902 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6023, allocations: 0 / 0.7902 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6023, allocations: 0 / 0.7902 GB, free: 46.27 MB / 0.6544 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.0009317/0.6032, allocations: 0.5213 MB / 0.7907 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.6033, allocations: 11.5 kB / 0.7907 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.6041, allocations: 88.91 kB / 0.7908 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.6042, allocations: 178.1 kB / 0.7909 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.6043, allocations: 53.23 kB / 0.791 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.6044, allocations: 14.81 kB / 0.791 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.6049, allocations: 179.3 kB / 0.7912 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.605, allocations: 3.938 kB / 0.7912 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.605, allocations: 6.562 kB / 0.7912 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.605, allocations: 2.625 kB / 0.7912 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.6057, allocations: 186.6 kB / 0.7914 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.6073, allocations: 0.907 MB / 0.7922 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.6079, allocations: 172.6 kB / 0.7924 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.6082, allocations: 83.41 kB / 0.7925 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.609, allocations: 0.5178 MB / 0.793 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.609, allocations: 31.88 kB / 0.793 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.609, allocations: 0 / 0.793 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.000988/0.61, allocations: 237.6 kB / 0.7933 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.6101, allocations: 58.84 kB / 0.7933 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.6103, allocations: 156.5 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.6103, allocations: 32.81 kB / 0.7935 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.6104, allocations: 123.1 kB / 0.7936 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.6104, allocations: 46.56 kB / 0.7937 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.6105, allocations: 48.27 kB / 0.7937 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.6106, allocations: 316.9 kB / 0.794 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.6109, allocations: 79.75 kB / 0.7941 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.6112, allocations: 96.61 kB / 0.7942 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.6117, allocations: 144.9 kB / 0.7943 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6117, allocations: 3.938 kB / 0.7943 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000699/0.6124, allocations: 214.7 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6125, allocations: 5.438 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6125, allocations: 1.5 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.6125, allocations: 6.359 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.6129, allocations: 42.05 kB / 0.7946 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6129, allocations: 2.359 kB / 0.7946 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.6132, allocations: 22.59 kB / 0.7946 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.6133, allocations: 7.594 kB / 0.7946 GB, free: 43.48 MB / 0.6544 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 (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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.6134, allocations: 128.9 kB / 0.7947 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.6135, allocations: 15.66 kB / 0.7947 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.6142, allocations: 197.3 kB / 0.7949 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6142, allocations: 3.125 kB / 0.7949 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6142, allocations: 0 / 0.7949 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.6142, allocations: 4.672 kB / 0.7949 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.616, allocations: 0.9858 MB / 0.7959 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.616, allocations: 64 / 0.7959 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.6163, allocations: 34.06 kB / 0.7959 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6163, allocations: 0 / 0.7959 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.6163, allocations: 8.359 kB / 0.7959 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6164, allocations: 3.562 kB / 0.7959 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6164, allocations: 0 / 0.7959 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.617, allocations: 288.4 kB / 0.7962 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.617, allocations: 94.27 kB / 0.7963 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.6171, allocations: 3.469 kB / 0.7963 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.6174, allocations: 17.73 kB / 0.7963 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.6175, allocations: 13.83 kB / 0.7963 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.6175, allocations: 10.19 kB / 0.7963 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.44e-05/0.6176, allocations: 124.7 kB / 0.7965 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6176, allocations: 0 / 0.7965 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00073/0.6184, allocations: 124.2 kB / 0.7966 GB, free: 42.15 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005306/0.6189, allocations: 228.4 kB / 0.7968 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.6196, allocations: 179.6 kB / 0.797 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6196, allocations: 0 / 0.797 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.6199, allocations: 87.22 kB / 0.7971 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.6206, allocations: 45.66 kB / 0.7971 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.6215, allocations: 312 kB / 0.7974 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.6216, allocations: 0.7137 MB / 0.7981 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.6219, allocations: 32.38 kB / 0.7981 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.622, allocations: 21.06 kB / 0.7981 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.622, allocations: 0 / 0.7981 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.0115/0.6335, allocations: 4.267 MB / 0.8023 GB, free: 40.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)