Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008198/0.0008198, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007938/0.0007938, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8761/0.8761, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001529/0.001529, allocations: 237.9 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6996/0.6996, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.899e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.2377/0.2377, allocations: 1.975 MB / 0.6482 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2397, allocations: 1.528 MB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.2397, allocations: 2.312 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.331e-05/0.2398, allocations: 19.52 kB / 0.6497 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/0.2399, allocations: 50.78 kB / 0.6498 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.2409, allocations: 371.6 kB / 0.6501 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.2411, allocations: 240.1 kB / 0.6504 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2412, allocations: 34.94 kB / 0.6504 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2414, allocations: 130.2 kB / 0.6505 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2415, allocations: 71.56 kB / 0.6506 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.2415, allocations: 20.47 kB / 0.6506 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000616/0.2421, allocations: 406.8 kB / 0.651 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.2422, allocations: 49.64 kB / 0.651 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.2422, allocations: 69.7 kB / 0.6511 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.2427, allocations: 0.4914 MB / 0.6516 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2427, allocations: 1.25 kB / 0.6516 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2427, allocations: 0 / 0.6516 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2427, allocations: 0 / 0.6516 GB, free: 55.07 MB / 0.5573 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.0005778/0.2433, allocations: 463.6 kB / 0.652 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2434, allocations: 12.47 kB / 0.652 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.2434, allocations: 53.69 kB / 0.6521 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.2439, allocations: 137 kB / 0.6522 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.673e-05/0.244, allocations: 120.9 kB / 0.6523 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.2441, allocations: 78.09 kB / 0.6524 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.2441, allocations: 14.41 kB / 0.6524 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.2445, allocations: 284.9 kB / 0.6527 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2445, allocations: 192 / 0.6527 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.2445, allocations: 7.594 kB / 0.6527 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2445, allocations: 7.438 kB / 0.6527 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.2448, allocations: 164.5 kB / 0.6529 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2458, allocations: 0.719 MB / 0.6536 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.2463, allocations: 189 kB / 0.6538 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2465, allocations: 112.2 kB / 0.6539 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.2467, allocations: 69.61 kB / 0.6539 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2468, allocations: 42.83 kB / 0.654 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/0.2468, allocations: 4.438 kB / 0.654 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17): time 0.005432/0.2522, allocations: 1.398 MB / 0.6553 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.2522, allocations: 58.17 kB / 0.6554 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.2523, allocations: 156.8 kB / 0.6555 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2524, allocations: 31.7 kB / 0.6556 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.2524, allocations: 114.6 kB / 0.6557 GB, free: 53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.2524, allocations: 62.56 kB / 0.6557 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.2525, allocations: 43.48 kB / 0.6558 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.2525, allocations: 331.3 kB / 0.6561 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2527, allocations: 107 kB / 0.6562 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2529, allocations: 112.9 kB / 0.6563 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.2533, allocations: 211.4 kB / 0.6565 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2533, allocations: 1.781 kB / 0.6565 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003244/0.2565, allocations: 0.895 MB / 0.6574 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2565, allocations: 5.703 kB / 0.6574 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.2565, allocations: 5.625 kB / 0.6574 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008928/0.2574, allocations: 351 kB / 0.6577 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2576, allocations: 53.62 kB / 0.6578 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/0.2585, allocations: 0.8357 MB / 0.6586 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2587, allocations: 40.67 kB / 0.6586 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2587, allocations: 5.469 kB / 0.6586 GB, free: 51.52 MB / 0.5573 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 0.0001026/0.2588, allocations: 132.5 kB / 0.6588 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.2588, allocations: 11.39 kB / 0.6588 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.2597, allocations: 443.8 kB / 0.6592 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2597, allocations: 7.656 kB / 0.6592 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2597, allocations: 0.6094 kB / 0.6592 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2597, allocations: 1.125 kB / 0.6592 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.261, allocations: 0.8218 MB / 0.66 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.261, allocations: 3.219 kB / 0.66 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.2612, allocations: 50.45 kB / 0.6601 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007992/0.262, allocations: 352.2 kB / 0.6604 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.262, allocations: 6.344 kB / 0.6604 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007901/0.2628, allocations: 0.8304 MB / 0.6612 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2628, allocations: 1.875 kB / 0.6612 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.2634, allocations: 475.2 kB / 0.6617 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.2634, allocations: 14.73 kB / 0.6617 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.2634, allocations: 6.547 kB / 0.6617 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2636, allocations: 29.48 kB / 0.6617 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.2636, allocations: 10.7 kB / 0.6617 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2637, allocations: 7.219 kB / 0.6617 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.2637, allocations: 117.9 kB / 0.6619 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2637, allocations: 2.625 kB / 0.6619 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004242/0.2641, allocations: 140.3 kB / 0.662 GB, free: 49.59 MB / 0.5573 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.00106/0.2652, allocations: 1.14 MB / 0.6631 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.2663, allocations: 361.5 kB / 0.6634 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2663, allocations: 0 / 0.6634 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.267, allocations: 237.6 kB / 0.6637 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2674, allocations: 50.5 kB / 0.6637 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/0.2749, allocations: 3.591 MB / 0.6672 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.2749, allocations: 102.1 kB / 0.6673 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.852e-05/0.275, allocations: 22.42 kB / 0.6673 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.2751, allocations: 39 kB / 0.6674 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.533e-06/0.2751, allocations: 9.875 kB / 0.6674 GB, free: 46.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3002, allocations: 8.771 MB / 0.676 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.147, allocations: 5.312 kB / 0.676 GB, free: 45.22 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.806404332630336] Failed to read output from testmodel.py, exit status != 0: 8.241025698371232 8.254943551 8.010372835 Calling exit ...