Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_dev_IDEAS_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.0009949/0.0009949, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001212/0.001213, allocations: 172.7 kB / 15.95 MB, free: 208 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.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9565/0.9565, allocations: 135.3 MB / 426.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 8 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002311/0.1756, allocations: 1.68 MB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1782, allocations: 1.552 MB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1783, allocations: 4 kB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.301e-05/0.1784, allocations: 7.922 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1785, allocations: 51.61 kB / 0.5907 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1797, allocations: 263.2 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.18, allocations: 211.2 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1801, allocations: 45.66 kB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1802, allocations: 75.81 kB / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1804, allocations: 79.69 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1804, allocations: 12 kB / 0.5913 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008104/0.1813, allocations: 379.4 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.1813, allocations: 39.89 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.1814, allocations: 53.64 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.1818, allocations: 323.5 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1818, allocations: 4 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1819, allocations: 0 / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.1819, allocations: 0 / 0.5921 GB, free: 14.11 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.0008732/0.1827, allocations: 0.4911 MB / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1828, allocations: 16.03 kB / 0.5926 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.1829, allocations: 50.55 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.1839, allocations: 143.7 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.184, allocations: 174.9 kB / 0.593 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.569e-05/0.1841, allocations: 53.69 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.1841, allocations: 16 kB / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.1847, allocations: 221.2 kB / 0.5932 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1847, allocations: 0 / 0.5932 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1848, allocations: 7.984 kB / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1848, allocations: 4 kB / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.1855, allocations: 235.8 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1869, allocations: 0.9666 MB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.1874, allocations: 182.6 kB / 0.5946 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.1877, allocations: 116.8 kB / 0.5947 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/0.1884, allocations: 0.5142 MB / 0.5952 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1885, allocations: 38.56 kB / 0.5952 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.1885, allocations: 0 / 0.5952 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001103/0.1896, allocations: 344.8 kB / 0.5956 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1897, allocations: 55.41 kB / 0.5956 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1898, allocations: 161.7 kB / 0.5958 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1899, allocations: 33.64 kB / 0.5958 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.19, allocations: 116.2 kB / 0.5959 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.19, allocations: 63.17 kB / 0.596 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.1901, allocations: 4 kB / 0.596 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1902, allocations: 326.8 kB / 0.5963 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.1905, allocations: 100.3 kB / 0.5964 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1909, allocations: 124.5 kB / 0.5965 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.1912, allocations: 96.89 kB / 0.5966 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1912, allocations: 0 / 0.5966 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007402/0.192, allocations: 275.7 kB / 0.5969 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.192, allocations: 8 kB / 0.5969 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.192, allocations: 0 / 0.5969 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.192, allocations: 4.031 kB / 0.5969 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.1924, allocations: 55.89 kB / 0.5969 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1924, allocations: 3.953 kB / 0.5969 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.1927, allocations: 35.81 kB / 0.597 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.1927, allocations: 8 kB / 0.597 GB, free: 8.715 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 ($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.0001305/0.1929, allocations: 121.8 kB / 0.5971 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.1929, allocations: 19.81 kB / 0.5971 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.1937, allocations: 266.6 kB / 0.5974 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1937, allocations: 0 / 0.5974 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1937, allocations: 3.953 kB / 0.5974 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1937, allocations: 0 / 0.5974 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.1955, allocations: 1.081 MB / 0.5984 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1955, allocations: 0 / 0.5984 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1958, allocations: 43.91 kB / 0.5985 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.1958, allocations: 3.953 kB / 0.5985 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1958, allocations: 4.062 kB / 0.5985 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1958, allocations: 4 kB / 0.5985 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1958, allocations: 4 kB / 0.5985 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.1966, allocations: 348.8 kB / 0.5988 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.1966, allocations: 100.9 kB / 0.5989 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.1967, allocations: 19.89 kB / 0.5989 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.197, allocations: 23.95 kB / 0.5989 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.1971, allocations: 19.92 kB / 0.599 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1971, allocations: 4 kB / 0.599 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.805e-05/0.1972, allocations: 118.5 kB / 0.5991 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1972, allocations: 4 kB / 0.5991 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005029/0.1977, allocations: 131.9 kB / 0.5992 GB, free: 6.211 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 (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.001356/0.199, allocations: 1.007 MB / 0.6002 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006938/0.1998, allocations: 239.6 kB / 0.6004 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1998, allocations: 0 / 0.6004 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.2001, allocations: 112.1 kB / 0.6005 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.2005, allocations: 43.91 kB / 0.6006 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.2039, allocations: 1.28 MB / 0.6018 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2042, allocations: 0.7089 MB / 0.6025 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.2045, allocations: 32.61 kB / 0.6025 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2046, allocations: 43.42 kB / 0.6026 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2046, allocations: 0 / 0.6026 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9631/1.168, allocations: 5.884 MB / 0.6083 GB, free: 48.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/1.168, allocations: 195.5 kB / 0.6085 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.468, allocations: 0 / 0.6085 GB, free: 48.39 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) Environment - environmentSimulation: