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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006789/0.000679, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00375/0.00375, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001589/0.001589, allocations: 270.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8377/0.8377, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 11.91 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 88.55 MB / 0.6852 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001739/0.1238, allocations: 1.722 MB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1258, allocations: 1.711 MB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.1258, allocations: 3.938 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.1259, allocations: 15.91 kB / 0.6886 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.126, allocations: 44.83 kB / 0.6886 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.1266, allocations: 297.8 kB / 0.6889 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1268, allocations: 215.2 kB / 0.6891 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1269, allocations: 43.66 kB / 0.6892 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.127, allocations: 80.2 kB / 0.6893 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1271, allocations: 83.67 kB / 0.6893 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1271, allocations: 12.88 kB / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005989/0.1277, allocations: 392.8 kB / 0.6897 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.1278, allocations: 37.31 kB / 0.6898 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.1279, allocations: 105.4 kB / 0.6899 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.1283, allocations: 430.8 kB / 0.6903 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1283, allocations: 0 / 0.6903 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1283, allocations: 0.6562 kB / 0.6903 GB, free: 9.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1283, allocations: 0 / 0.6903 GB, free: 9.77 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.0006476/0.129, allocations: 0.4914 MB / 0.6907 GB, free: 9.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.129, allocations: 8.031 kB / 0.6908 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.1291, allocations: 54.67 kB / 0.6908 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.1301, allocations: 144.6 kB / 0.6909 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.767e-05/0.1303, allocations: 188.1 kB / 0.6911 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.1303, allocations: 54.25 kB / 0.6912 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.1304, allocations: 12.38 kB / 0.6912 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.1309, allocations: 218.2 kB / 0.6914 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.1309, allocations: 4 kB / 0.6914 GB, free: 8.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1309, allocations: 8 kB / 0.6914 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1309, allocations: 4 kB / 0.6914 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006746/0.1316, allocations: 235.8 kB / 0.6916 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1328, allocations: 0.9778 MB / 0.6926 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.1332, allocations: 178.7 kB / 0.6928 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.1336, allocations: 114.9 kB / 0.6929 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.1341, allocations: 0.5259 MB / 0.6934 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1342, allocations: 34.5 kB / 0.6934 GB, free: 6.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1342, allocations: 0 / 0.6934 GB, free: 6.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001057/0.1352, allocations: 337.6 kB / 0.6937 GB, free: 5.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1353, allocations: 51.41 kB / 0.6938 GB, free: 5.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1354, allocations: 165.1 kB / 0.6939 GB, free: 5.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1354, allocations: 29.7 kB / 0.694 GB, free: 5.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.1355, allocations: 120.1 kB / 0.6941 GB, free: 5.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.1355, allocations: 55.25 kB / 0.6941 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1356, allocations: 17.72 kB / 0.6942 GB, free: 5.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.1357, allocations: 326.8 kB / 0.6945 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.136, allocations: 103.9 kB / 0.6946 GB, free: 4.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.1364, allocations: 134 kB / 0.6947 GB, free: 4.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.137, allocations: 201.5 kB / 0.6949 GB, free: 4.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.137, allocations: 0 / 0.6949 GB, free: 4.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007269/0.1377, allocations: 273.3 kB / 0.6952 GB, free: 4.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1377, allocations: 8.031 kB / 0.6952 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1378, allocations: 0 / 0.6952 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1378, allocations: 4 kB / 0.6952 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1381, allocations: 59.83 kB / 0.6952 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1381, allocations: 0 / 0.6952 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1384, allocations: 39.81 kB / 0.6953 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1384, allocations: 4 kB / 0.6953 GB, free: 4.223 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 (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 9.583e-05/0.1385, allocations: 127.1 kB / 0.6954 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.1386, allocations: 15.84 kB / 0.6954 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007591/0.1393, allocations: 276.6 kB / 0.6957 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1393, allocations: 7.938 kB / 0.6957 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1394, allocations: 0 / 0.6957 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1394, allocations: 3.984 kB / 0.6957 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.1409, allocations: 1.072 MB / 0.6967 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1409, allocations: 3.938 kB / 0.6967 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.1412, allocations: 44.03 kB / 0.6968 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1413, allocations: 0 / 0.6968 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1413, allocations: 8 kB / 0.6968 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1413, allocations: 3.984 kB / 0.6968 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1413, allocations: 7.922 kB / 0.6968 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.142, allocations: 349 kB / 0.6971 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.1421, allocations: 100.8 kB / 0.6972 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.1421, allocations: 8 kB / 0.6972 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.1424, allocations: 19.97 kB / 0.6972 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1425, allocations: 15.98 kB / 0.6973 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1425, allocations: 8 kB / 0.6973 GB, free: 1.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.959e-05/0.1425, allocations: 117.1 kB / 0.6974 GB, free: 1.848 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1426, allocations: 4 kB / 0.6974 GB, free: 1.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.143, allocations: 127.9 kB / 0.6975 GB, free: 1.719 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 (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.0012/0.1442, allocations: 1.018 MB / 0.6985 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006955/0.1449, allocations: 239.4 kB / 0.6987 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1449, allocations: 0 / 0.6987 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.1452, allocations: 116.1 kB / 0.6988 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1456, allocations: 49.48 kB / 0.6989 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.1502, allocations: 2.442 MB / 0.7013 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1504, allocations: 0.7128 MB / 0.702 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.1506, allocations: 31.3 kB / 0.702 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1507, allocations: 47.41 kB / 0.702 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1507, allocations: 0 / 0.702 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4515/0.6022, allocations: 5.988 MB / 0.7079 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.6024, allocations: 233.2 kB / 0.7081 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.496, allocations: 0 / 0.7081 GB, free: 6.906 MB / 0.4981 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/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)