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.001611/0.001611, allocations: 108 kB / 15.61 MB, free: 152 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.002066/0.002066, allocations: 196 kB / 16.53 MB, free: 6.664 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8154/0.8154, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001142, allocations: 58.97 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002996/0.1272, allocations: 2.021 MB / 0.5865 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1293, allocations: 1.664 MB / 0.5881 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.1294, allocations: 0 / 0.5881 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.1295, allocations: 19.8 kB / 0.5881 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.1296, allocations: 47.55 kB / 0.5881 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.1304, allocations: 358.8 kB / 0.5885 GB, free: 344 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1306, allocations: 235 kB / 0.5887 GB, free: 108 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1307, allocations: 57.5 kB / 0.5888 GB, free: 44 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.1308, allocations: 75.92 kB / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.131, allocations: 95.58 kB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.131, allocations: 24 kB / 0.5889 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006693/0.1317, allocations: 399.5 kB / 0.5893 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.1317, allocations: 43.84 kB / 0.5894 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.1318, allocations: 91.64 kB / 0.5895 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.1323, allocations: 435.2 kB / 0.5899 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1323, allocations: 0 / 0.5899 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1323, allocations: 0 / 0.5899 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1323, allocations: 0 / 0.5899 GB, free: 14.9 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.0007563/0.1331, allocations: 0.5264 MB / 0.5904 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1331, allocations: 15.95 kB / 0.5904 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.1332, allocations: 50.75 kB / 0.5905 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1343, allocations: 136.6 kB / 0.5906 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1344, allocations: 180.2 kB / 0.5908 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.1345, allocations: 50.25 kB / 0.5908 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1345, allocations: 20.12 kB / 0.5908 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.135, allocations: 213.3 kB / 0.591 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.135, allocations: 3.938 kB / 0.591 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.1351, allocations: 8 kB / 0.591 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1351, allocations: 4 kB / 0.591 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.1358, allocations: 239.8 kB / 0.5913 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.137, allocations: 0.9587 MB / 0.5922 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.1375, allocations: 182.7 kB / 0.5924 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.1378, allocations: 108.8 kB / 0.5925 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.1384, allocations: 0.522 MB / 0.593 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1385, allocations: 38.5 kB / 0.593 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.1385, allocations: 3.938 kB / 0.593 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001093/0.1396, allocations: 329.7 kB / 0.5933 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.1396, allocations: 51.41 kB / 0.5934 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1397, allocations: 162.5 kB / 0.5936 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1397, allocations: 29.7 kB / 0.5936 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.1398, allocations: 112.2 kB / 0.5937 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1399, allocations: 63.17 kB / 0.5937 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.1399, allocations: 41.7 kB / 0.5938 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1401, allocations: 330.8 kB / 0.5941 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1404, allocations: 95.94 kB / 0.5942 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.1408, allocations: 131.5 kB / 0.5943 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/0.1414, allocations: 191.1 kB / 0.5945 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1414, allocations: 4 kB / 0.5945 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007482/0.1422, allocations: 274.5 kB / 0.5948 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1422, allocations: 7.938 kB / 0.5948 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1422, allocations: 0 / 0.5948 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1422, allocations: 4 kB / 0.5948 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.1426, allocations: 47.95 kB / 0.5948 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1426, allocations: 4 kB / 0.5948 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.1428, allocations: 43.61 kB / 0.5949 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1429, allocations: 7.984 kB / 0.5949 GB, free: 9.348 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 9.598e-05/0.143, allocations: 125.8 kB / 0.595 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.143, allocations: 15.84 kB / 0.595 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007967/0.1438, allocations: 273.1 kB / 0.5953 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1438, allocations: 0 / 0.5953 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1439, allocations: 4 kB / 0.5953 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1439, allocations: 0 / 0.5953 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1455, allocations: 1.076 MB / 0.5963 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1455, allocations: 0 / 0.5963 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.1458, allocations: 44.02 kB / 0.5964 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1458, allocations: 4 kB / 0.5964 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1458, allocations: 0 / 0.5964 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1458, allocations: 7.938 kB / 0.5964 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1459, allocations: 7.875 kB / 0.5964 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/0.1466, allocations: 352.8 kB / 0.5967 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1466, allocations: 93.02 kB / 0.5968 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.1467, allocations: 0 / 0.5968 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.147, allocations: 23.97 kB / 0.5968 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.147, allocations: 15.98 kB / 0.5969 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1471, allocations: 4 kB / 0.5969 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.1471, allocations: 127.2 kB / 0.597 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1471, allocations: 0 / 0.597 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004006/0.1476, allocations: 131.8 kB / 0.5971 GB, free: 6.859 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.001275/0.1488, allocations: 1.003 MB / 0.5981 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007455/0.1496, allocations: 237.5 kB / 0.5983 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1496, allocations: 0 / 0.5983 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.15, allocations: 116.1 kB / 0.5984 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1504, allocations: 35.98 kB / 0.5985 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.155, allocations: 2.378 MB / 0.6008 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1553, allocations: 0.7047 MB / 0.6015 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.1555, allocations: 37.27 kB / 0.6015 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1556, allocations: 39.42 kB / 0.6015 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1556, allocations: 4 kB / 0.6015 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4096/0.5651, allocations: 6.278 MB / 0.6077 GB, free: 51.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/8.043, allocations: 5.703 kB / 0.6077 GB, free: 51.1 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/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)