Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 193.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 65.25 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00338/0.2035, allocations: 2.035 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.2058, allocations: 1.664 MB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.206, allocations: 8 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.347e-05/0.206, allocations: 23.78 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2062, allocations: 43.56 kB / 0.7872 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.2074, allocations: 358.8 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.2077, allocations: 223.2 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2079, allocations: 57.52 kB / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.208, allocations: 83.72 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2082, allocations: 95.66 kB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.2082, allocations: 20 kB / 0.788 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000863/0.2091, allocations: 403.5 kB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.2092, allocations: 43.84 kB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2093, allocations: 95.58 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.21, allocations: 435.2 kB / 0.7889 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.21, allocations: 0 / 0.7889 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.21, allocations: 0 / 0.7889 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.21, allocations: 0 / 0.7889 GB, free: 7.828 MB / 0.6075 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.0009684/0.211, allocations: 0.5264 MB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.211, allocations: 8.031 kB / 0.7894 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/0.2111, allocations: 54.73 kB / 0.7895 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.2122, allocations: 136.6 kB / 0.7896 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.2124, allocations: 180.2 kB / 0.7898 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.94e-05/0.2125, allocations: 54.25 kB / 0.7898 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.2125, allocations: 12.38 kB / 0.7898 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.2131, allocations: 221.5 kB / 0.79 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2131, allocations: 0 / 0.79 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2132, allocations: 8 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2132, allocations: 4 kB / 0.7901 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/0.2139, allocations: 235.6 kB / 0.7903 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.2155, allocations: 0.9663 MB / 0.7912 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.216, allocations: 186.6 kB / 0.7914 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.2163, allocations: 112.8 kB / 0.7915 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006854/0.217, allocations: 0.5181 MB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2171, allocations: 34.56 kB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.2171, allocations: 0 / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001224/0.2183, allocations: 332.7 kB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2184, allocations: 55.41 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2186, allocations: 169.4 kB / 0.7926 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.2186, allocations: 29.7 kB / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.2187, allocations: 116.2 kB / 0.7927 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.2188, allocations: 55.19 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.2188, allocations: 41.7 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.219, allocations: 326.8 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.2194, allocations: 103.9 kB / 0.7932 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.2197, allocations: 124.1 kB / 0.7933 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.2205, allocations: 200.6 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2205, allocations: 0 / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008965/0.2214, allocations: 261.4 kB / 0.7938 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.2214, allocations: 14.69 kB / 0.7938 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2214, allocations: 3.938 kB / 0.7938 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.2215, allocations: 3.938 kB / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.2219, allocations: 55.89 kB / 0.7939 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2219, allocations: 0 / 0.7939 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.2222, allocations: 39.67 kB / 0.7939 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.2223, allocations: 11.98 kB / 0.7939 GB, free: 2.266 MB / 0.6075 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 (22): * Single equations (assignments): 22 * 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.0001626/0.2225, allocations: 126.4 kB / 0.794 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.2225, allocations: 11.91 kB / 0.794 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009415/0.2235, allocations: 269.7 kB / 0.7943 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.2235, allocations: 7.938 kB / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2235, allocations: 0 / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2235, allocations: 0 / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.2256, allocations: 1.081 MB / 0.7954 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2256, allocations: 0 / 0.7954 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.2259, allocations: 47.95 kB / 0.7954 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2259, allocations: 64 / 0.7954 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.226, allocations: 8 kB / 0.7954 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.226, allocations: 0 / 0.7954 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.226, allocations: 0 / 0.7954 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.2268, allocations: 356.8 kB / 0.7957 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.2269, allocations: 89.02 kB / 0.7958 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.227, allocations: 7.938 kB / 0.7958 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.2273, allocations: 23.97 kB / 0.7959 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.2274, allocations: 11.98 kB / 0.7959 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.2274, allocations: 4 kB / 0.7959 GB, free: 24 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000145/0.2276, allocations: 125.3 kB / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2276, allocations: 4 kB / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000674/0.2283, allocations: 135.8 kB / 0.7961 GB, free: 15.77 MB / 0.6231 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/0.23, allocations: 1.006 MB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008606/0.2308, allocations: 243.8 kB / 0.7973 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2309, allocations: 0 / 0.7973 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.2312, allocations: 107.9 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.2317, allocations: 52.09 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.2372, allocations: 2.355 MB / 0.7998 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.2375, allocations: 0.7126 MB / 0.8005 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.2378, allocations: 32.91 kB / 0.8005 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.2379, allocations: 47.42 kB / 0.8006 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.2379, allocations: 0 / 0.8006 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7996/1.037, allocations: 6.288 MB / 0.8067 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.869, allocations: 3.938 kB / 0.8067 GB, free: 4.922 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)