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.001947/0.001947, 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.002164/0.002164, allocations: 195.4 kB / 16.53 MB, free: 6.691 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 288.4 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 95.59 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1568, allocations: 89.14 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003605/0.1605, allocations: 2.014 MB / 0.6956 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.1632, allocations: 1.674 MB / 0.6972 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.1634, allocations: 8 kB / 0.6972 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.431e-05/0.1634, allocations: 19.78 kB / 0.6972 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1636, allocations: 51.55 kB / 0.6973 GB, free: 452 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1648, allocations: 363.4 kB / 0.6976 GB, free: 88 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.1651, allocations: 215.2 kB / 0.6978 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1653, allocations: 53.81 kB / 0.6979 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1655, allocations: 87.72 kB / 0.698 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1657, allocations: 95.64 kB / 0.6981 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.1657, allocations: 20 kB / 0.6981 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009122/0.1666, allocations: 403.5 kB / 0.6985 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.1667, allocations: 39.91 kB / 0.6985 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1668, allocations: 91.64 kB / 0.6986 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.1676, allocations: 438.9 kB / 0.699 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1676, allocations: 0 / 0.699 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1676, allocations: 4 kB / 0.699 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.1676, allocations: 0 / 0.699 GB, free: 14.67 MB / 0.4981 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.001062/0.1687, allocations: 0.5147 MB / 0.6995 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1687, allocations: 12.03 kB / 0.6995 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/0.1688, allocations: 54.73 kB / 0.6996 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.17, allocations: 140.6 kB / 0.6997 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1702, allocations: 176.2 kB / 0.6999 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.1703, allocations: 54.23 kB / 0.6999 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.1703, allocations: 24.25 kB / 0.6999 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.171, allocations: 226 kB / 0.7002 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.171, allocations: 4 kB / 0.7002 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.171, allocations: 4 kB / 0.7002 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.171, allocations: 4 kB / 0.7002 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/0.1718, allocations: 231.9 kB / 0.7004 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.1734, allocations: 0.974 MB / 0.7013 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.174, allocations: 174.7 kB / 0.7015 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.1743, allocations: 108.8 kB / 0.7016 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/0.1751, allocations: 0.5181 MB / 0.7021 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.1751, allocations: 42.5 kB / 0.7022 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1751, allocations: 4 kB / 0.7022 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001223/0.1764, allocations: 327.3 kB / 0.7025 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1764, allocations: 59.39 kB / 0.7025 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1766, allocations: 158.4 kB / 0.7027 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1766, allocations: 25.7 kB / 0.7027 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.1767, allocations: 124.1 kB / 0.7028 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.1768, allocations: 55.19 kB / 0.7029 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.1769, allocations: 37.7 kB / 0.7029 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1771, allocations: 330.8 kB / 0.7032 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.1775, allocations: 103.9 kB / 0.7033 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.1778, allocations: 123 kB / 0.7035 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.1786, allocations: 201.9 kB / 0.7036 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1786, allocations: 0 / 0.7036 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000861/0.1794, allocations: 261.4 kB / 0.7039 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.1795, allocations: 12.03 kB / 0.7039 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1795, allocations: 0 / 0.7039 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1795, allocations: 11.81 kB / 0.7039 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.1799, allocations: 47.95 kB / 0.704 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1799, allocations: 4 kB / 0.704 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.1802, allocations: 43.66 kB / 0.704 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1802, allocations: 4 kB / 0.704 GB, free: 9.102 MB / 0.4981 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.0001327/0.1804, allocations: 129.8 kB / 0.7041 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.1804, allocations: 11.91 kB / 0.7041 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008703/0.1813, allocations: 261.3 kB / 0.7044 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1813, allocations: 7.938 kB / 0.7044 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1813, allocations: 3.984 kB / 0.7044 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1813, allocations: 3.984 kB / 0.7044 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.1833, allocations: 1.073 MB / 0.7055 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1833, allocations: 0 / 0.7055 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.1837, allocations: 43.97 kB / 0.7055 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1837, allocations: 4.062 kB / 0.7055 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1837, allocations: 8 kB / 0.7055 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1837, allocations: 3.984 kB / 0.7055 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1837, allocations: 0 / 0.7055 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.1846, allocations: 358.1 kB / 0.7059 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.1846, allocations: 89.02 kB / 0.7059 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.1847, allocations: 4 kB / 0.7059 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.185, allocations: 23.97 kB / 0.706 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.1851, allocations: 7.984 kB / 0.706 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1851, allocations: 11.98 kB / 0.706 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001011/0.1852, allocations: 125.5 kB / 0.7061 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1852, allocations: 3.938 kB / 0.7061 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004748/0.1857, allocations: 135.8 kB / 0.7062 GB, free: 6.605 MB / 0.4981 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.001542/0.1872, allocations: 1 MB / 0.7072 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008291/0.1881, allocations: 239.8 kB / 0.7074 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1881, allocations: 0 / 0.7074 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.1885, allocations: 111.9 kB / 0.7076 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1889, allocations: 53.39 kB / 0.7076 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.1942, allocations: 2.366 MB / 0.7099 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1946, allocations: 0.7086 MB / 0.7106 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.1949, allocations: 29.8 kB / 0.7106 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.195, allocations: 51.41 kB / 0.7107 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.195, allocations: 0 / 0.7107 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.2243, allocations: 6.311 MB / 0.7168 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.043, allocations: 11.61 kB / 0.7169 GB, free: 11.76 MB / 0.5137 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 & 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)