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.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 270.5 kB / 291.4 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 19.19 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001868/0.136, allocations: 1.676 MB / 0.6861 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1381, allocations: 1.546 MB / 0.6876 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.1382, allocations: 4.656 kB / 0.6876 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.1382, allocations: 15.84 kB / 0.6876 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.129e-05/0.1383, allocations: 45.39 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.139, allocations: 260.8 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1392, allocations: 211.1 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1394, allocations: 51.86 kB / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.1395, allocations: 68.36 kB / 0.6883 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1396, allocations: 83.67 kB / 0.6883 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.1396, allocations: 16 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006947/0.1403, allocations: 367.5 kB / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.1404, allocations: 43.88 kB / 0.6887 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.1404, allocations: 53.64 kB / 0.6888 GB, free: 11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.1408, allocations: 327.5 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1408, allocations: 0 / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1408, allocations: 0 / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1408, allocations: 4 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB 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.0007221/0.1416, allocations: 495 kB / 0.6896 GB, free: 10.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1416, allocations: 12.03 kB / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.1426, allocations: 151.5 kB / 0.6897 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1428, allocations: 174.9 kB / 0.6899 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.1429, allocations: 57.62 kB / 0.69 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.1429, allocations: 16 kB / 0.69 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.1434, allocations: 213.9 kB / 0.6902 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1435, allocations: 0 / 0.6902 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.1435, allocations: 12 kB / 0.6902 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1435, allocations: 4 kB / 0.6902 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.1442, allocations: 239.8 kB / 0.6904 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1455, allocations: 0.9739 MB / 0.6914 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.146, allocations: 182.7 kB / 0.6915 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1463, allocations: 108.8 kB / 0.6917 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/0.1469, allocations: 0.522 MB / 0.6922 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.147, allocations: 34.52 kB / 0.6922 GB, free: 7.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.147, allocations: 0 / 0.6922 GB, free: 7.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001089/0.1481, allocations: 343.6 kB / 0.6925 GB, free: 6.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1481, allocations: 51.41 kB / 0.6926 GB, free: 6.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1483, allocations: 161.1 kB / 0.6927 GB, free: 6.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1483, allocations: 33.7 kB / 0.6928 GB, free: 6.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1484, allocations: 120.1 kB / 0.6929 GB, free: 6.434 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.1484, allocations: 51.28 kB / 0.6929 GB, free: 6.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.1484, allocations: 8 kB / 0.6929 GB, free: 6.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.1485, allocations: 318.8 kB / 0.6932 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.1489, allocations: 108.3 kB / 0.6933 GB, free: 5.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.1492, allocations: 126.7 kB / 0.6935 GB, free: 5.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1495, allocations: 92.91 kB / 0.6935 GB, free: 5.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1495, allocations: 0 / 0.6935 GB, free: 5.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007367/0.1503, allocations: 286.7 kB / 0.6938 GB, free: 5.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1503, allocations: 11.95 kB / 0.6938 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1503, allocations: 0 / 0.6938 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1503, allocations: 0 / 0.6938 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1507, allocations: 47.91 kB / 0.6939 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1507, allocations: 8 kB / 0.6939 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.151, allocations: 31.81 kB / 0.6939 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.151, allocations: 8 kB / 0.6939 GB, free: 5.344 MB / 494.1 MB 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.0001104/0.1511, allocations: 130.4 kB / 0.694 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.1512, allocations: 19.8 kB / 0.6941 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/0.152, allocations: 263.9 kB / 0.6943 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.152, allocations: 4 kB / 0.6943 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.152, allocations: 0 / 0.6943 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.152, allocations: 0 / 0.6943 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.1536, allocations: 1.081 MB / 0.6954 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1537, allocations: 0 / 0.6954 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.154, allocations: 47.97 kB / 0.6954 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.154, allocations: 3.984 kB / 0.6954 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.154, allocations: 4 kB / 0.6954 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.154, allocations: 0 / 0.6954 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.154, allocations: 0 / 0.6954 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.1548, allocations: 366.5 kB / 0.6958 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.1548, allocations: 89 kB / 0.6959 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.1549, allocations: 4 kB / 0.6959 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.1552, allocations: 27.97 kB / 0.6959 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1552, allocations: 15.97 kB / 0.6959 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1553, allocations: 4 kB / 0.6959 GB, free: 3.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.716e-05/0.1554, allocations: 121.1 kB / 0.696 GB, free: 2.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 0.696 GB, free: 2.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.1558, allocations: 135.8 kB / 0.6962 GB, free: 2.84 MB / 494.1 MB 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.0004132/0.1563, allocations: 231 kB / 0.6964 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007169/0.157, allocations: 224.7 kB / 0.6966 GB, free: 2.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.157, allocations: 8 kB / 0.6966 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.1573, allocations: 111.9 kB / 0.6967 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1577, allocations: 51.91 kB / 0.6968 GB, free: 2.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1597, allocations: 0.5287 MB / 0.6973 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1599, allocations: 0.7167 MB / 0.698 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.1602, allocations: 35.03 kB / 0.698 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.1602, allocations: 19.44 kB / 0.698 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1603, allocations: 4 kB / 0.698 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of Templates: time 0.008098/0.1684, allocations: 4.313 MB / 0.7022 GB, free: 12.61 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)