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.001011/0.001011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007957/0.007958, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9167/0.9167, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 8.781 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001847/0.1448, allocations: 1.722 MB / 0.5898 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1469, allocations: 1.703 MB / 0.5914 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.147, allocations: 8 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.147, allocations: 15.84 kB / 0.5914 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.093e-05/0.1471, allocations: 47.61 kB / 0.5915 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.1478, allocations: 287.2 kB / 0.5918 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.148, allocations: 219.1 kB / 0.592 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1481, allocations: 56.83 kB / 0.592 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.1482, allocations: 71.83 kB / 0.5921 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1483, allocations: 79.67 kB / 0.5922 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1483, allocations: 12 kB / 0.5922 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.149, allocations: 395.5 kB / 0.5926 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.149, allocations: 35.89 kB / 0.5926 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1491, allocations: 109.3 kB / 0.5927 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.1496, allocations: 427.1 kB / 0.5931 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1496, allocations: 0 / 0.5931 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1496, allocations: 4 kB / 0.5931 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1496, allocations: 0 / 0.5931 GB, free: 13.32 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.0006662/0.1503, allocations: 0.4952 MB / 0.5936 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1503, allocations: 8.031 kB / 0.5936 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.1504, allocations: 54.73 kB / 0.5937 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1514, allocations: 144.6 kB / 0.5938 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1515, allocations: 176.2 kB / 0.594 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.1516, allocations: 46.27 kB / 0.594 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.1517, allocations: 24.11 kB / 0.594 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.1522, allocations: 217.2 kB / 0.5942 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1522, allocations: 0 / 0.5942 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1522, allocations: 12 kB / 0.5942 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1522, allocations: 4 kB / 0.5942 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006985/0.1529, allocations: 243.8 kB / 0.5945 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1542, allocations: 0.9704 MB / 0.5954 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.1547, allocations: 178.6 kB / 0.5956 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.155, allocations: 116.8 kB / 0.5957 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.1556, allocations: 0.522 MB / 0.5962 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1556, allocations: 38.55 kB / 0.5963 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.1556, allocations: 0 / 0.5963 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001079/0.1567, allocations: 341.3 kB / 0.5966 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1567, allocations: 63.28 kB / 0.5966 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1569, allocations: 153.7 kB / 0.5968 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1569, allocations: 33.7 kB / 0.5968 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.157, allocations: 112.2 kB / 0.5969 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.157, allocations: 63.19 kB / 0.597 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1571, allocations: 21.72 kB / 0.597 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.1572, allocations: 326.8 kB / 0.5973 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.1575, allocations: 103.9 kB / 0.5974 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.1578, allocations: 123.5 kB / 0.5975 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/0.1585, allocations: 207.1 kB / 0.5977 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1585, allocations: 0 / 0.5977 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007525/0.1592, allocations: 270.3 kB / 0.598 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1593, allocations: 5.875 kB / 0.598 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1593, allocations: 7.938 kB / 0.598 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.1593, allocations: 0 / 0.598 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.1596, allocations: 55.92 kB / 0.5981 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.1597, allocations: 4 kB / 0.5981 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.1599, allocations: 35.75 kB / 0.5981 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.16, allocations: 12 kB / 0.5981 GB, free: 7.777 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.0001064/0.1601, allocations: 125.8 kB / 0.5982 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.1601, allocations: 15.81 kB / 0.5982 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/0.1609, allocations: 270.7 kB / 0.5985 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1609, allocations: 0 / 0.5985 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1609, allocations: 0 / 0.5985 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1609, allocations: 3.984 kB / 0.5985 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1625, allocations: 1.073 MB / 0.5996 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1626, allocations: 4 kB / 0.5996 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.1629, allocations: 39.91 kB / 0.5996 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1629, allocations: 4 kB / 0.5996 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1629, allocations: 4 kB / 0.5996 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1629, allocations: 8.047 kB / 0.5996 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1629, allocations: 4 kB / 0.5996 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.1637, allocations: 348.9 kB / 0.5999 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.1637, allocations: 100.8 kB / 0.6 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1638, allocations: 8 kB / 0.6001 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.1641, allocations: 27.97 kB / 0.6001 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1641, allocations: 11.98 kB / 0.6001 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1641, allocations: 4 kB / 0.6001 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.479e-05/0.1642, allocations: 126.9 kB / 0.6002 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1642, allocations: 4 kB / 0.6002 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004121/0.1646, allocations: 127.9 kB / 0.6003 GB, free: 5.281 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.001246/0.1659, allocations: 1.006 MB / 0.6013 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007101/0.1666, allocations: 239.8 kB / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1666, allocations: 0 / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.167, allocations: 120.1 kB / 0.6017 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1674, allocations: 39.06 kB / 0.6017 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.1719, allocations: 2.452 MB / 0.6041 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1722, allocations: 0.7089 MB / 0.6048 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.1724, allocations: 39.44 kB / 0.6048 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1725, allocations: 47.41 kB / 0.6049 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1725, allocations: 0 / 0.6049 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6291/0.8016, allocations: 5.951 MB / 0.6107 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.8018, allocations: 209.1 kB / 0.6109 GB, free: 48.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.652, allocations: 0 / 0.6109 GB, free: 48.15 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)