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/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.824/0.824, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 181 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.1 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009529, allocations: 88.27 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 262.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 15.28 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1746, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5868/0.7614, allocations: 115.3 MB / 0.8863 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.7616, allocations: 85.52 kB / 0.8864 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02433/0.786, allocations: 8.295 MB / 0.8945 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.493e-06/0.786, allocations: 0 / 0.8945 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.7861, allocations: 2.656 kB / 0.8945 GB, free: 21.36 MB / 0.5417 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.0009377/0.787, allocations: 0.4948 MB / 0.895 GB, free: 20.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.7871, allocations: 11.33 kB / 0.895 GB, free: 20.93 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.7871, allocations: 50.98 kB / 0.8951 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.7882, allocations: 144.5 kB / 0.8952 GB, free: 20.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.7883, allocations: 185.2 kB / 0.8954 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.7885, allocations: 51.06 kB / 0.8954 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.7885, allocations: 12.62 kB / 0.8955 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.7891, allocations: 222 kB / 0.8957 GB, free: 20.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7891, allocations: 1.25 kB / 0.8957 GB, free: 20.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.7892, allocations: 8.656 kB / 0.8957 GB, free: 20.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.7892, allocations: 3.875 kB / 0.8957 GB, free: 20.58 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006913/0.7899, allocations: 239.2 kB / 0.8959 GB, free: 20.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.7913, allocations: 0.9939 MB / 0.8969 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.7918, allocations: 185.4 kB / 0.8971 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/0.7924, allocations: 0.5142 MB / 0.8976 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.7924, allocations: 38.44 kB / 0.8976 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.966e-06/0.7924, allocations: 0.9688 kB / 0.8976 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0011/0.7935, allocations: 339 kB / 0.8979 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.7936, allocations: 57.73 kB / 0.898 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.7937, allocations: 145.1 kB / 0.8981 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.7937, allocations: 32.06 kB / 0.8981 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.7938, allocations: 119.8 kB / 0.8983 GB, free: 18.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.7939, allocations: 53.88 kB / 0.8983 GB, free: 18.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.7939, allocations: 4.312 kB / 0.8983 GB, free: 18.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.7939, allocations: 330.9 kB / 0.8986 GB, free: 18.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.7943, allocations: 100.5 kB / 0.8987 GB, free: 18.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.7946, allocations: 125.4 kB / 0.8988 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.795, allocations: 94.58 kB / 0.8989 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.795, allocations: 0 / 0.8989 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008013/0.7958, allocations: 273.5 kB / 0.8992 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7958, allocations: 4.812 kB / 0.8992 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7958, allocations: 1.219 kB / 0.8992 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7958, allocations: 5.25 kB / 0.8992 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.7962, allocations: 54.83 kB / 0.8993 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.7962, allocations: 3.188 kB / 0.8993 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.7966, allocations: 41.05 kB / 0.8993 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.7966, allocations: 8.625 kB / 0.8993 GB, free: 18.43 MB / 0.5417 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.7967, allocations: 122.8 kB / 0.8994 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.7967, allocations: 18.05 kB / 0.8994 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.7975, allocations: 276.1 kB / 0.8997 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7976, allocations: 5.25 kB / 0.8997 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.7976, allocations: 1.281 kB / 0.8997 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7976, allocations: 3.953 kB / 0.8997 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.7992, allocations: 1.067 MB / 0.9008 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7993, allocations: 1.688 kB / 0.9008 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.7996, allocations: 43.72 kB / 0.9008 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.7996, allocations: 2.125 kB / 0.9008 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.7996, allocations: 10.05 kB / 0.9008 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.7996, allocations: 6.797 kB / 0.9008 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7996, allocations: 1.125 kB / 0.9008 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.8004, allocations: 385.1 kB / 0.9012 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.8005, allocations: 98.81 kB / 0.9013 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.8005, allocations: 5.906 kB / 0.9013 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.8009, allocations: 23.05 kB / 0.9013 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.8009, allocations: 17.55 kB / 0.9013 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.8009, allocations: 6.75 kB / 0.9013 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.337e-05/0.801, allocations: 120.8 kB / 0.9014 GB, free: 17.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.801, allocations: 0 / 0.9014 GB, free: 17.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006077/0.8016, allocations: 147.7 kB / 0.9016 GB, free: 17 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/0.803, allocations: 1.177 MB / 0.9027 GB, free: 16.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007461/0.8037, allocations: 228 kB / 0.903 GB, free: 16.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8037, allocations: 0 / 0.903 GB, free: 16.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.8041, allocations: 116.7 kB / 0.9031 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.8044, allocations: 38.39 kB / 0.9031 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.8087, allocations: 1.454 MB / 0.9045 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.8089, allocations: 0.7199 MB / 0.9052 GB, free: 30.72 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.8092, allocations: 32.23 kB / 0.9053 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.8093, allocations: 42.97 kB / 0.9053 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.8093, allocations: 0 / 0.9053 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.8271, allocations: 5.676 MB / 0.9108 GB, free: 30.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.8274, allocations: 213.6 kB / 0.911 GB, free: 30.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.72, allocations: 1.875 kB / 0.911 GB, free: 30.01 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)