Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 195.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8304/0.8304, allocations: 129.2 MB / 432.5 MB, free: 13.52 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 0.5987 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4006, allocations: 83.44 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002636/0.4033, allocations: 2.023 MB / 0.6821 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.4052, allocations: 1.679 MB / 0.6838 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.4053, allocations: 2.125 kB / 0.6838 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.445e-05/0.4054, allocations: 20.84 kB / 0.6838 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.988e-05/0.4055, allocations: 46.09 kB / 0.6839 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009482/0.4064, allocations: 358.7 kB / 0.6842 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.4066, allocations: 224.2 kB / 0.6844 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4068, allocations: 35.36 kB / 0.6844 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.4069, allocations: 76.78 kB / 0.6845 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.407, allocations: 89.56 kB / 0.6846 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.407, allocations: 17.31 kB / 0.6846 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007468/0.4078, allocations: 426 kB / 0.685 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.4078, allocations: 41.22 kB / 0.6851 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.4079, allocations: 85.81 kB / 0.6851 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.4084, allocations: 427.9 kB / 0.6856 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4084, allocations: 0 / 0.6856 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4084, allocations: 1.188 kB / 0.6856 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4084, allocations: 0 / 0.6856 GB, free: 1.938 MB / 0.4981 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.0007317/0.4092, allocations: 0.5256 MB / 0.6861 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4092, allocations: 9.938 kB / 0.6861 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.4093, allocations: 51.36 kB / 0.6861 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005479/0.4098, allocations: 90.42 kB / 0.6862 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.4099, allocations: 185.3 kB / 0.6864 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/0.41, allocations: 50.62 kB / 0.6864 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.41, allocations: 17.25 kB / 0.6865 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.4104, allocations: 181.6 kB / 0.6866 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4104, allocations: 1.125 kB / 0.6866 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4104, allocations: 9.438 kB / 0.6866 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4104, allocations: 3.531 kB / 0.6866 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.4108, allocations: 179 kB / 0.6868 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.412, allocations: 0.9165 MB / 0.6877 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.4125, allocations: 161.6 kB / 0.6879 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.4127, allocations: 68.48 kB / 0.6879 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/0.4134, allocations: 0.524 MB / 0.6884 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.4135, allocations: 41.48 kB / 0.6885 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.4135, allocations: 0 / 0.6885 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006981/0.4142, allocations: 230.7 kB / 0.6887 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4142, allocations: 56.81 kB / 0.6888 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4144, allocations: 160 kB / 0.6889 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.4144, allocations: 31.86 kB / 0.6889 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.4145, allocations: 125.3 kB / 0.6891 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.4145, allocations: 49.89 kB / 0.6891 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.4146, allocations: 38.42 kB / 0.6891 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4148, allocations: 329.5 kB / 0.6895 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4149, allocations: 69.12 kB / 0.6895 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.4152, allocations: 102.5 kB / 0.6896 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.4155, allocations: 149.2 kB / 0.6898 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4155, allocations: 0 / 0.6898 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004773/0.416, allocations: 211.9 kB / 0.69 GB, free: 14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.416, allocations: 4.594 kB / 0.69 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.416, allocations: 5.172 kB / 0.69 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.416, allocations: 1.156 kB / 0.69 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.4163, allocations: 35.73 kB / 0.69 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.4163, allocations: 9.203 kB / 0.69 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.4165, allocations: 29.27 kB / 0.69 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4165, allocations: 8.156 kB / 0.69 GB, free: 13.96 MB / 0.5137 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.0001235/0.4166, allocations: 123.9 kB / 0.6902 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.4167, allocations: 10.95 kB / 0.6902 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.4172, allocations: 206.3 kB / 0.6904 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4172, allocations: 6.219 kB / 0.6904 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4172, allocations: 0 / 0.6904 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4172, allocations: 1.062 kB / 0.6904 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.4187, allocations: 0.9815 MB / 0.6913 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.4188, allocations: 5.078 kB / 0.6913 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4189, allocations: 25.08 kB / 0.6914 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.419, allocations: 2.219 kB / 0.6914 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.419, allocations: 5.188 kB / 0.6914 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.419, allocations: 14.2 kB / 0.6914 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.419, allocations: 5.062 kB / 0.6914 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.4195, allocations: 285.2 kB / 0.6917 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.4195, allocations: 89.38 kB / 0.6918 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.4196, allocations: 2.188 kB / 0.6918 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.4198, allocations: 19.42 kB / 0.6918 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.4198, allocations: 9.266 kB / 0.6918 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4199, allocations: 12.64 kB / 0.6918 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.947e-05/0.42, allocations: 119.9 kB / 0.6919 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.42, allocations: 1.219 kB / 0.6919 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005363/0.4205, allocations: 129.9 kB / 0.692 GB, free: 12.2 MB / 0.5137 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.001169/0.4217, allocations: 0.9474 MB / 0.693 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000462/0.4221, allocations: 176.4 kB / 0.6931 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4221, allocations: 0 / 0.6931 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4223, allocations: 76.42 kB / 0.6932 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.4227, allocations: 48.97 kB / 0.6932 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.4256, allocations: 2.049 MB / 0.6952 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.426, allocations: 0.7129 MB / 0.6959 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.4261, allocations: 33.03 kB / 0.696 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4262, allocations: 41.98 kB / 0.696 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.4262, allocations: 4 kB / 0.696 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.4566, allocations: 6.077 MB / 0.702 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.52, allocations: 6.344 kB / 0.702 GB, free: 5.73 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.856539986561984] Failed to read output from testmodel.py, exit status != 0: 8.592930039856583 8.620691097 8.207310883 Calling exit ...