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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 101.9 kB / 20.48 MB, free: 1.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 218.4 kB / 23.78 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 257.6 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9175/0.9175, allocations: 150 MB / 463.9 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 61.78 kB / 0.6419 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1854, allocations: 89.18 MB / 0.729 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003323/0.1888, allocations: 1.949 MB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.1912, allocations: 1.503 MB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.1913, allocations: 4 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.656e-05/0.1914, allocations: 23.72 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1915, allocations: 47.56 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1926, allocations: 362.8 kB / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1928, allocations: 219.1 kB / 0.733 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.193, allocations: 43.39 kB / 0.7331 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1931, allocations: 79.83 kB / 0.7332 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1932, allocations: 91.67 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1933, allocations: 16 kB / 0.7333 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007697/0.194, allocations: 419.5 kB / 0.7337 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.1941, allocations: 47.83 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.1942, allocations: 71.78 kB / 0.7338 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005823/0.1947, allocations: 434.8 kB / 0.7342 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1947, allocations: 4 kB / 0.7342 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1947, allocations: 0 / 0.7342 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1947, allocations: 0 / 0.7342 GB, free: 11.5 MB / 0.5606 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.0007718/0.1955, allocations: 457.2 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1956, allocations: 8.031 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.755e-05/0.1956, allocations: 4.422 kB / 0.7346 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.1956, allocations: 50.73 kB / 0.7347 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.1987, allocations: 324.4 kB / 0.735 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1989, allocations: 122.4 kB / 0.7351 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.199, allocations: 83.7 kB / 0.7352 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.199, allocations: 15.94 kB / 0.7352 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.2005, allocations: 389.8 kB / 0.7356 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2005, allocations: 0 / 0.7356 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.2005, allocations: 15.98 kB / 0.7356 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2006, allocations: 4 kB / 0.7356 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.2027, allocations: 376.1 kB / 0.736 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.2044, allocations: 0.764 MB / 0.7367 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/0.2089, allocations: 0.6385 MB / 0.7373 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.21, allocations: 204.6 kB / 0.7375 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.914e-05/0.2101, allocations: 16 kB / 0.7375 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.2101, allocations: 38.55 kB / 0.7376 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.2101, allocations: 0 / 0.7376 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.00426/0.2144, allocations: 0.7214 MB / 0.7383 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2145, allocations: 55.41 kB / 0.7383 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2146, allocations: 151.3 kB / 0.7385 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.2146, allocations: 33.69 kB / 0.7385 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.2147, allocations: 115.9 kB / 0.7386 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.2148, allocations: 51.53 kB / 0.7387 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2149, allocations: 45.69 kB / 0.7387 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.215, allocations: 322.8 kB / 0.739 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.2162, allocations: 207.8 kB / 0.7392 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.2173, allocations: 203.8 kB / 0.7394 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.2193, allocations: 351 kB / 0.7397 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2193, allocations: 0 / 0.7397 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002675/0.222, allocations: 0.498 MB / 0.7402 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.222, allocations: 7.938 kB / 0.7402 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.222, allocations: 4 kB / 0.7402 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.2226, allocations: 124.7 kB / 0.7404 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.2241, allocations: 151.9 kB / 0.7405 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008395/0.225, allocations: 0.6382 MB / 0.7411 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.2256, allocations: 59.83 kB / 0.7412 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.2256, allocations: 7.984 kB / 0.7412 GB, free: 4.074 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.2258, allocations: 131.8 kB / 0.7413 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.2259, allocations: 19.89 kB / 0.7413 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.2286, allocations: 0.5325 MB / 0.7419 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2287, allocations: 0 / 0.7419 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2287, allocations: 0 / 0.7419 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2287, allocations: 4.125 kB / 0.7419 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.2334, allocations: 0.9953 MB / 0.7428 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.2334, allocations: 7.984 kB / 0.7428 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.235, allocations: 143.8 kB / 0.743 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005359/0.2355, allocations: 127.1 kB / 0.7431 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.2355, allocations: 11.98 kB / 0.7431 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008108/0.2364, allocations: 0.6264 MB / 0.7437 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2364, allocations: 4 kB / 0.7437 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.239, allocations: 0.5523 MB / 0.7443 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.2391, allocations: 23.83 kB / 0.7443 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.2391, allocations: 7.938 kB / 0.7443 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.2398, allocations: 55.92 kB / 0.7444 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.2398, allocations: 15.92 kB / 0.7444 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.2399, allocations: 11.98 kB / 0.7444 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.804e-05/0.24, allocations: 121.5 kB / 0.7445 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.24, allocations: 0 / 0.7445 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005257/0.2405, allocations: 127.6 kB / 0.7446 GB, free: 460 kB / 0.5606 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003336/0.2438, allocations: 1.221 MB / 0.7458 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002731/0.2466, allocations: 449 kB / 0.7462 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2466, allocations: 0 / 0.7462 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.2481, allocations: 239.7 kB / 0.7465 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.2485, allocations: 47.95 kB / 0.7465 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00982/0.2584, allocations: 2.931 MB / 0.7494 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.666e-05/0.2585, allocations: 102.9 kB / 0.7495 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.2587, allocations: 44.33 kB / 0.7495 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.2589, allocations: 47.41 kB / 0.7496 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.2589, allocations: 4 kB / 0.7496 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.2896, allocations: 8.853 MB / 0.7582 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.02, allocations: 15.47 kB / 0.7582 GB, free: 2.633 MB / 0.5762 GB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 17.131084284046665] Failed to read output from testmodel.py, exit status != 0: 13.187244398053735 13.515345727 13.317588584 Calling exit ...