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.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005986/0.005987, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001565/0.001565, allocations: 187.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 290.4 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9695/0.9695, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 91.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3788, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00303/0.3818, allocations: 2.003 MB / 0.7679 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.3842, allocations: 1.656 MB / 0.7695 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.3842, allocations: 8 kB / 0.7695 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.622e-05/0.3843, allocations: 15.8 kB / 0.7695 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.3844, allocations: 51.55 kB / 0.7696 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.3853, allocations: 358.8 kB / 0.7699 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.3855, allocations: 219.1 kB / 0.7701 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3857, allocations: 65.23 kB / 0.7702 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.3858, allocations: 75.78 kB / 0.7702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3859, allocations: 87.67 kB / 0.7703 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.386, allocations: 20 kB / 0.7703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.3867, allocations: 415.5 kB / 0.7707 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.3867, allocations: 47.89 kB / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.3868, allocations: 83.64 kB / 0.7709 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.3874, allocations: 427.9 kB / 0.7713 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3874, allocations: 4 kB / 0.7713 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3874, allocations: 3.938 kB / 0.7713 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3874, allocations: 0 / 0.7713 GB, free: 14.35 MB / 0.545 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.0008069/0.3882, allocations: 0.5218 MB / 0.7718 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3883, allocations: 8.031 kB / 0.7718 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.3883, allocations: 50.73 kB / 0.7718 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.3889, allocations: 92.73 kB / 0.7719 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.389, allocations: 176.2 kB / 0.7721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.3891, allocations: 50.25 kB / 0.7721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3892, allocations: 16.38 kB / 0.7722 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.3896, allocations: 181.8 kB / 0.7723 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3896, allocations: 0 / 0.7723 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3896, allocations: 4 kB / 0.7723 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3896, allocations: 8 kB / 0.7723 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3901, allocations: 183.8 kB / 0.7725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.3914, allocations: 0.9228 MB / 0.7734 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.3919, allocations: 174.6 kB / 0.7736 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3921, allocations: 76.83 kB / 0.7737 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/0.3928, allocations: 0.522 MB / 0.7742 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3928, allocations: 38.5 kB / 0.7742 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3928, allocations: 4 kB / 0.7742 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006809/0.3935, allocations: 229.5 kB / 0.7744 GB, free: 10.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3936, allocations: 51.41 kB / 0.7745 GB, free: 10.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3937, allocations: 161.7 kB / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3938, allocations: 25.7 kB / 0.7747 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.3938, allocations: 123.9 kB / 0.7748 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.3939, allocations: 47.58 kB / 0.7748 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.394, allocations: 41.66 kB / 0.7749 GB, free: 10.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3941, allocations: 322.8 kB / 0.7752 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3943, allocations: 79.95 kB / 0.7752 GB, free: 9.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3945, allocations: 97.59 kB / 0.7753 GB, free: 9.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.3949, allocations: 151.9 kB / 0.7755 GB, free: 9.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3949, allocations: 0 / 0.7755 GB, free: 9.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004852/0.3954, allocations: 217.4 kB / 0.7757 GB, free: 9.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3954, allocations: 4 kB / 0.7757 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3954, allocations: 0 / 0.7757 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3955, allocations: 0 / 0.7757 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.3957, allocations: 35.97 kB / 0.7757 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3957, allocations: 4 kB / 0.7757 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.3959, allocations: 23.91 kB / 0.7758 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3959, allocations: 11.98 kB / 0.7758 GB, free: 9.312 MB / 0.545 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.0001178/0.3961, allocations: 132.1 kB / 0.7759 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.3961, allocations: 11.91 kB / 0.7759 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.3966, allocations: 209 kB / 0.7761 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3966, allocations: 4 kB / 0.7761 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3966, allocations: 0 / 0.7761 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3966, allocations: 0 / 0.7761 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.3981, allocations: 0.9817 MB / 0.7771 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3981, allocations: 0 / 0.7771 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.3983, allocations: 31.97 kB / 0.7771 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3983, allocations: 0 / 0.7771 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.3984, allocations: 11.94 kB / 0.7771 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3984, allocations: 64 / 0.7771 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3984, allocations: 7.938 kB / 0.7771 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.3989, allocations: 289 kB / 0.7774 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.399, allocations: 97 kB / 0.7775 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.399, allocations: 4 kB / 0.7775 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3992, allocations: 19.98 kB / 0.7775 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3993, allocations: 11.92 kB / 0.7775 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3993, allocations: 4 kB / 0.7775 GB, free: 7.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.341e-05/0.3994, allocations: 121.9 kB / 0.7776 GB, free: 7.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3994, allocations: 0 / 0.7776 GB, free: 7.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000534/0.3999, allocations: 131.5 kB / 0.7778 GB, free: 7.059 MB / 0.545 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.001099/0.401, allocations: 0.9479 MB / 0.7787 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.4015, allocations: 187.9 kB / 0.7789 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4015, allocations: 0 / 0.7789 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.4017, allocations: 87.84 kB / 0.779 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4022, allocations: 40.08 kB / 0.779 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.405, allocations: 2.059 MB / 0.781 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.4054, allocations: 0.7125 MB / 0.7817 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.4055, allocations: 27.86 kB / 0.7817 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.4056, allocations: 45.8 kB / 0.7818 GB, free: 2.809 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4056, allocations: 0 / 0.7818 GB, free: 2.809 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.433, allocations: 6.06 MB / 0.7877 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.934, allocations: 8.969 kB / 0.7877 GB, free: 12.94 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)