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.004765/0.004765, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001081/0.001081, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7748/0.7748, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.33 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1574, allocations: 80.92 MB / 0.6641 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.0034/0.1609, allocations: 2.036 MB / 0.6661 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1634, allocations: 1.664 MB / 0.6678 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1636, allocations: 4 kB / 0.6678 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.33e-05/0.1637, allocations: 19.78 kB / 0.6678 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1639, allocations: 47.56 kB / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.165, allocations: 370.8 kB / 0.6682 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1653, allocations: 227 kB / 0.6684 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1655, allocations: 64.31 kB / 0.6685 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1656, allocations: 75.84 kB / 0.6685 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1658, allocations: 95.66 kB / 0.6686 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.1659, allocations: 20 kB / 0.6686 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.1667, allocations: 411.5 kB / 0.669 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.1668, allocations: 51.83 kB / 0.6691 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1669, allocations: 83.66 kB / 0.6692 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1676, allocations: 439.7 kB / 0.6696 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1676, allocations: 0 / 0.6696 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1676, allocations: 4 kB / 0.6696 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.1676, allocations: 3.938 kB / 0.6696 GB, free: 0.6797 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.000964/0.1686, allocations: 0.5225 MB / 0.6701 GB, free: 112 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1686, allocations: 9.109 kB / 0.6701 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.1687, allocations: 50.73 kB / 0.6702 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.1698, allocations: 136.7 kB / 0.6703 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.17, allocations: 176.2 kB / 0.6705 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.15e-05/0.1701, allocations: 62 kB / 0.6705 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.1701, allocations: 15.94 kB / 0.6705 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.1707, allocations: 209.5 kB / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1707, allocations: 0 / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.1707, allocations: 12 kB / 0.6707 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1708, allocations: 4 kB / 0.6707 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.1715, allocations: 231.8 kB / 0.671 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.173, allocations: 0.9737 MB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.1735, allocations: 178.6 kB / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.1738, allocations: 116.8 kB / 0.6722 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006535/0.1745, allocations: 0.522 MB / 0.6727 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1745, allocations: 30.56 kB / 0.6727 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.654e-06/0.1745, allocations: 0 / 0.6727 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001131/0.1757, allocations: 333.6 kB / 0.6731 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1757, allocations: 55.41 kB / 0.6731 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1759, allocations: 158.5 kB / 0.6733 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1759, allocations: 25.7 kB / 0.6733 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.176, allocations: 120.1 kB / 0.6734 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.176, allocations: 55.25 kB / 0.6734 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.1761, allocations: 41.7 kB / 0.6735 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1763, allocations: 330.7 kB / 0.6738 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.1766, allocations: 99.94 kB / 0.6739 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.177, allocations: 127.5 kB / 0.674 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.1776, allocations: 195.6 kB / 0.6742 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1776, allocations: 0 / 0.6742 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007767/0.1784, allocations: 281.9 kB / 0.6745 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1785, allocations: 13.95 kB / 0.6745 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1785, allocations: 0 / 0.6745 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1785, allocations: 7.984 kB / 0.6745 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1789, allocations: 47.91 kB / 0.6745 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1789, allocations: 0 / 0.6745 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.1792, allocations: 39.81 kB / 0.6746 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1792, allocations: 7.938 kB / 0.6746 GB, free: 11.12 MB / 0.5137 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.0001138/0.1793, allocations: 125.8 kB / 0.6747 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.1794, allocations: 15.75 kB / 0.6747 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.1802, allocations: 273.8 kB / 0.675 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1802, allocations: 3.938 kB / 0.675 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1802, allocations: 7.984 kB / 0.675 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1802, allocations: 0 / 0.675 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.182, allocations: 1.062 MB / 0.676 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.182, allocations: 0 / 0.676 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.1823, allocations: 43.97 kB / 0.6761 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1823, allocations: 4 kB / 0.6761 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1824, allocations: 7.984 kB / 0.6761 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1824, allocations: 4 kB / 0.6761 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1824, allocations: 0 / 0.6761 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.1832, allocations: 349 kB / 0.6764 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.1832, allocations: 92.92 kB / 0.6765 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1833, allocations: 3.984 kB / 0.6765 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.1836, allocations: 23.97 kB / 0.6765 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1836, allocations: 15.92 kB / 0.6766 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.1837, allocations: 12 kB / 0.6766 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.1838, allocations: 122.5 kB / 0.6767 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1838, allocations: 0 / 0.6767 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004469/0.1842, allocations: 127.9 kB / 0.6768 GB, free: 8.645 MB / 0.5137 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.001426/0.1857, allocations: 1.012 MB / 0.6778 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007379/0.1864, allocations: 228.8 kB / 0.678 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1864, allocations: 0 / 0.678 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.1868, allocations: 116.1 kB / 0.6781 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.1872, allocations: 51.83 kB / 0.6782 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.192, allocations: 2.357 MB / 0.6805 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1924, allocations: 0.7164 MB / 0.6812 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.1926, allocations: 29.7 kB / 0.6812 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1927, allocations: 43.42 kB / 0.6812 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.1927, allocations: 0 / 0.6812 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.2178, allocations: 6.342 MB / 0.6874 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.868, allocations: 2.344 kB / 0.6874 GB, free: 13.75 MB / 0.5294 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)