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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.761/0.761, allocations: 143.4 MB / 159.2 MB, free: 4.879 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 189.7 kB / 191.9 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 107.7 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 276.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.89 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3768, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00294/0.3798, allocations: 2.066 MB / 0.7699 GB, free: 25.61 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3818, allocations: 1.744 MB / 0.7716 GB, free: 23.87 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.3819, allocations: 4 kB / 0.7716 GB, free: 23.86 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.426e-05/0.382, allocations: 15.91 kB / 0.7717 GB, free: 23.85 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.179e-05/0.3821, allocations: 47.62 kB / 0.7717 GB, free: 23.8 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.3829, allocations: 295.1 kB / 0.772 GB, free: 23.51 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.3831, allocations: 203.2 kB / 0.7722 GB, free: 23.31 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3832, allocations: 52.12 kB / 0.7722 GB, free: 23.26 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.3833, allocations: 79.7 kB / 0.7723 GB, free: 23.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3834, allocations: 79.73 kB / 0.7724 GB, free: 23.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3835, allocations: 12 kB / 0.7724 GB, free: 23.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.3842, allocations: 395.4 kB / 0.7728 GB, free: 22.71 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.3842, allocations: 31.91 kB / 0.7728 GB, free: 22.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.3843, allocations: 87.64 kB / 0.7729 GB, free: 22.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.3848, allocations: 419 kB / 0.7733 GB, free: 22.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3848, allocations: 0 / 0.7733 GB, free: 22.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3848, allocations: 0 / 0.7733 GB, free: 22.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3848, allocations: 0 / 0.7733 GB, free: 22.18 MB / 458.7 MB 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.0007307/0.3855, allocations: 0.5186 MB / 0.7738 GB, free: 21.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3856, allocations: 12.03 kB / 0.7738 GB, free: 21.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.3862, allocations: 84.73 kB / 0.7739 GB, free: 21.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.343e-05/0.3863, allocations: 176.2 kB / 0.774 GB, free: 21.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.3863, allocations: 50.25 kB / 0.7741 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.3864, allocations: 20.36 kB / 0.7741 GB, free: 21.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.3868, allocations: 186.1 kB / 0.7743 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3868, allocations: 3.938 kB / 0.7743 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.3868, allocations: 4 kB / 0.7743 GB, free: 21.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3868, allocations: 4 kB / 0.7743 GB, free: 21.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.3872, allocations: 183.8 kB / 0.7745 GB, free: 20.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3884, allocations: 0.9111 MB / 0.7754 GB, free: 19.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.3888, allocations: 174.5 kB / 0.7755 GB, free: 19.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.389, allocations: 79.7 kB / 0.7756 GB, free: 19.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000497/0.3895, allocations: 0.522 MB / 0.7761 GB, free: 18.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3895, allocations: 30.56 kB / 0.7761 GB, free: 18.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.674e-06/0.3895, allocations: 0 / 0.7761 GB, free: 18.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006492/0.3902, allocations: 241.6 kB / 0.7764 GB, free: 18.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.3902, allocations: 55.41 kB / 0.7764 GB, free: 18.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3903, allocations: 162.1 kB / 0.7766 GB, free: 18.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3904, allocations: 33.7 kB / 0.7766 GB, free: 18.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.3904, allocations: 119.7 kB / 0.7767 GB, free: 18.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3905, allocations: 51.3 kB / 0.7768 GB, free: 18.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.3905, allocations: 37.7 kB / 0.7768 GB, free: 18.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.3906, allocations: 326.8 kB / 0.7771 GB, free: 17.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3908, allocations: 67.97 kB / 0.7772 GB, free: 17.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.391, allocations: 100.4 kB / 0.7773 GB, free: 17.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.3913, allocations: 149.6 kB / 0.7774 GB, free: 17.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3914, allocations: 7.938 kB / 0.7774 GB, free: 17.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004458/0.3918, allocations: 215.5 kB / 0.7776 GB, free: 17.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3918, allocations: 4 kB / 0.7776 GB, free: 17.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3918, allocations: 0 / 0.7776 GB, free: 17.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3919, allocations: 7.984 kB / 0.7777 GB, free: 17.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.3921, allocations: 39.95 kB / 0.7777 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3921, allocations: 0 / 0.7777 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.3923, allocations: 27.81 kB / 0.7777 GB, free: 17.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3923, allocations: 4 kB / 0.7777 GB, free: 17.2 MB / 458.7 MB 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 8.638e-05/0.3924, allocations: 129.7 kB / 0.7778 GB, free: 17.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.3925, allocations: 15.81 kB / 0.7779 GB, free: 17.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.3929, allocations: 194.4 kB / 0.778 GB, free: 16.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3929, allocations: 0 / 0.778 GB, free: 16.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.393, allocations: 0 / 0.778 GB, free: 16.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.393, allocations: 4 kB / 0.7781 GB, free: 16.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3941, allocations: 0.9817 MB / 0.779 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3941, allocations: 0 / 0.779 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3943, allocations: 35.91 kB / 0.779 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3943, allocations: 7.984 kB / 0.7791 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3943, allocations: 4.062 kB / 0.7791 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3943, allocations: 0 / 0.7791 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3944, allocations: 7.984 kB / 0.7791 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.3951, allocations: 0.9273 MB / 0.78 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.3951, allocations: 89.02 kB / 0.7801 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3952, allocations: 7.938 kB / 0.7801 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3954, allocations: 19.97 kB / 0.7801 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3954, allocations: 7.984 kB / 0.7801 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3954, allocations: 4 kB / 0.7801 GB, free: 14.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.3955, allocations: 123.2 kB / 0.7802 GB, free: 14.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3955, allocations: 3.938 kB / 0.7802 GB, free: 14.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005357/0.396, allocations: 131.8 kB / 0.7803 GB, free: 14.27 MB / 458.7 MB 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.0003901/0.3964, allocations: 231.5 kB / 0.7806 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.3969, allocations: 167.9 kB / 0.7807 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3969, allocations: 7.938 kB / 0.7807 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.3971, allocations: 84.08 kB / 0.7808 GB, free: 13.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3975, allocations: 43.92 kB / 0.7809 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.3982, allocations: 0.502 MB / 0.7813 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.3983, allocations: 0.7089 MB / 0.782 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.3985, allocations: 28.67 kB / 0.7821 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.3985, allocations: 19.44 kB / 0.7821 GB, free: 12.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3985, allocations: 0 / 0.7821 GB, free: 12.41 MB / 458.7 MB Notification: Performance of Templates: time 0.006315/0.4049, allocations: 4.223 MB / 0.7862 GB, free: 8.238 MB / 458.7 MB 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)