Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.0008804/0.0008804, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008083/0.0008083, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9133/0.9133, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.505e-05, allocations: 12.69 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002176/0.002191, allocations: 1.99 MB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003741, allocations: 1.53 MB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.0038, allocations: 0 / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.003853, allocations: 19.8 kB / 0.9844 GB, free: 15.01 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.913e-05/0.003932, allocations: 51.53 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.004681, allocations: 373.8 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.004867, allocations: 239 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.005001, allocations: 33.72 kB / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005127, allocations: 131.8 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.005222, allocations: 75.83 kB / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.005247, allocations: 16 kB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.005748, allocations: 419.3 kB / 0.9857 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.005784, allocations: 39.89 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.00584, allocations: 71.83 kB / 0.9858 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.006288, allocations: 0.4908 MB / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00629, allocations: 0 / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006291, allocations: 0 / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.006296, allocations: 0 / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006043/0.0069, allocations: 465.2 kB / 0.9867 GB, free: 12.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.006936, allocations: 8.031 kB / 0.9867 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.006978, allocations: 54.73 kB / 0.9868 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005036/0.007482, allocations: 140.7 kB / 0.9869 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.173e-05/0.007563, allocations: 125.5 kB / 0.987 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.007636, allocations: 79.95 kB / 0.9871 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.00766, allocations: 16.38 kB / 0.9871 GB, free: 12.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.008012, allocations: 281.2 kB / 0.9874 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.00802, allocations: 192 / 0.9874 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.008041, allocations: 8.375 kB / 0.9874 GB, free: 11.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008047, allocations: 11.88 kB / 0.9874 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.00829, allocations: 165.5 kB / 0.9876 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.009304, allocations: 0.7135 MB / 0.9883 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.009713, allocations: 186.5 kB / 0.9885 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.009893, allocations: 112.8 kB / 0.9886 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.01012, allocations: 75.91 kB / 0.9886 GB, free: 10.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.01014, allocations: 38.5 kB / 0.9887 GB, free: 10.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.01014, allocations: 0 / 0.9887 GB, free: 10.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.005082/0.01523, allocations: 1.387 MB / 0.99 GB, free: 9.098 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.01525, allocations: 51.41 kB / 0.9901 GB, free: 9.035 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.01535, allocations: 164.2 kB / 0.9902 GB, free: 8.863 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01537, allocations: 29.7 kB / 0.9903 GB, free: 8.828 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.01543, allocations: 120.4 kB / 0.9904 GB, free: 8.707 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.01546, allocations: 59.48 kB / 0.9904 GB, free: 8.648 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.01551, allocations: 41.7 kB / 0.9905 GB, free: 8.602 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.01559, allocations: 330.7 kB / 0.9908 GB, free: 8.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.01577, allocations: 107.9 kB / 0.9909 GB, free: 8.164 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.01594, allocations: 115.9 kB / 0.991 GB, free: 8.051 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.01628, allocations: 210.4 kB / 0.9912 GB, free: 7.844 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01628, allocations: 0 / 0.9912 GB, free: 7.844 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003091/0.01937, allocations: 0.8926 MB / 0.9921 GB, free: 6.941 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01939, allocations: 8 kB / 0.9921 GB, free: 6.934 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01939, allocations: 0 / 0.9921 GB, free: 6.934 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007649/0.02016, allocations: 360.3 kB / 0.9924 GB, free: 6.578 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.02033, allocations: 51.98 kB / 0.9925 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008589/0.02119, allocations: 0.8294 MB / 0.9933 GB, free: 5.672 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.02131, allocations: 35.86 kB / 0.9933 GB, free: 5.637 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.02132, allocations: 11.94 kB / 0.9933 GB, free: 5.625 MB / 0.948 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 (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 {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/0.02141, allocations: 125.8 kB / 0.9935 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.02143, allocations: 23.83 kB / 0.9935 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007957/0.02223, allocations: 443.2 kB / 0.9939 GB, free: 5.023 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.02223, allocations: 0 / 0.9939 GB, free: 5.023 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.02224, allocations: 0 / 0.9939 GB, free: 5.023 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.02224, allocations: 0 / 0.9939 GB, free: 5.023 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.02335, allocations: 0.8142 MB / 0.9947 GB, free: 4.152 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.02336, allocations: 0 / 0.9947 GB, free: 4.152 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.0235, allocations: 47.92 kB / 0.9947 GB, free: 4.105 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006803/0.02418, allocations: 351.5 kB / 0.9951 GB, free: 3.762 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.0242, allocations: 7.938 kB / 0.9951 GB, free: 3.754 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008538/0.02505, allocations: 0.845 MB / 0.9959 GB, free: 2.883 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02505, allocations: 0 / 0.9959 GB, free: 2.883 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.02563, allocations: 478.2 kB / 0.9964 GB, free: 2.395 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.02565, allocations: 15.88 kB / 0.9964 GB, free: 2.379 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.02568, allocations: 4 kB / 0.9964 GB, free: 2.375 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.02582, allocations: 23.97 kB / 0.9964 GB, free: 2.352 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.02585, allocations: 15.98 kB / 0.9964 GB, free: 2.336 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.02586, allocations: 11.92 kB / 0.9964 GB, free: 2.324 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.02591, allocations: 117.7 kB / 0.9965 GB, free: 2.211 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.02591, allocations: 0 / 0.9965 GB, free: 2.211 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002946/0.02621, allocations: 139.5 kB / 0.9967 GB, free: 2.074 MB / 0.948 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 (7): * Single equations (assignments): 6 * 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 {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009877/0.0272, allocations: 1.132 MB / 0.9978 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009795/0.02818, allocations: 359.6 kB / 0.9981 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02818, allocations: 4 kB / 0.9981 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.02887, allocations: 243.7 kB / 0.9984 GB, free: 320 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.02917, allocations: 54.38 kB / 0.9984 GB, free: 268 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.03595, allocations: 3.606 MB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.03601, allocations: 102.4 kB / 1.002 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.785e-05/0.03607, allocations: 21.8 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.03612, allocations: 40.48 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/0.03612, allocations: 0 / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.05622, allocations: 8.757 MB / 1.011 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.217, allocations: 4.062 kB / 1.011 GB, free: 3.852 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.466328620910645] Failed to read output from testmodel.py, exit status != 0: 8.305913919582963 8.315295271 8.307189312 Calling exit ...