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.001784/0.001784, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002249/0.002249, allocations: 192.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.148/2.148, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.444/1.444, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 68.27 kB / 0.505 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2538, allocations: 80.93 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.005392/0.2593, allocations: 2.079 MB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.2633, allocations: 1.648 MB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2634, allocations: 0 / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2636, allocations: 15.91 kB / 0.5876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.2638, allocations: 43.61 kB / 0.5877 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.2656, allocations: 323.2 kB / 0.588 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.266, allocations: 231.1 kB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.2663, allocations: 49.53 kB / 0.5883 GB, free: 348 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.2665, allocations: 83.75 kB / 0.5883 GB, free: 264 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2668, allocations: 95.67 kB / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.2669, allocations: 20 kB / 0.5885 GB, free: 148 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.2682, allocations: 415.6 kB / 0.5889 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.2683, allocations: 39.84 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.2685, allocations: 95.66 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000967/0.2695, allocations: 435.1 kB / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2695, allocations: 0 / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2695, allocations: 0 / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.2695, allocations: 0 / 0.5894 GB, free: 15.18 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.001475/0.271, allocations: 0.5264 MB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.2711, allocations: 8.031 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.603e-05/0.2712, allocations: 54.73 kB / 0.59 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.2733, allocations: 140.6 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2735, allocations: 188.1 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.2737, allocations: 54.19 kB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.2738, allocations: 20.12 kB / 0.5904 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2748, allocations: 217.3 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2749, allocations: 0 / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.2749, allocations: 12 kB / 0.5906 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.2749, allocations: 4 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2763, allocations: 227.9 kB / 0.5908 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.2788, allocations: 0.9704 MB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.2797, allocations: 174.7 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.2803, allocations: 108.8 kB / 0.592 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.2814, allocations: 0.522 MB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.2815, allocations: 38.56 kB / 0.5926 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 8.165e-06/0.2815, allocations: 0 / 0.5926 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002217/0.2838, allocations: 333.5 kB / 0.5929 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.2839, allocations: 59.41 kB / 0.5929 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.2841, allocations: 161.8 kB / 0.5931 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.2842, allocations: 29.7 kB / 0.5931 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2843, allocations: 116.2 kB / 0.5932 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.2844, allocations: 51.2 kB / 0.5933 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.2846, allocations: 45.7 kB / 0.5933 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.2848, allocations: 330.8 kB / 0.5936 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.2854, allocations: 99.94 kB / 0.5937 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.2861, allocations: 125.6 kB / 0.5939 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.2873, allocations: 195.5 kB / 0.594 GB, free: 10 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2873, allocations: 4 kB / 0.594 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001469/0.2888, allocations: 270.9 kB / 0.5943 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.2889, allocations: 7.938 kB / 0.5943 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2889, allocations: 4 kB / 0.5943 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2889, allocations: 0 / 0.5943 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.2896, allocations: 47.97 kB / 0.5944 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2896, allocations: 0 / 0.5944 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.2902, allocations: 47.66 kB / 0.5944 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.2902, allocations: 4 kB / 0.5944 GB, free: 9.617 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.0002009/0.2904, allocations: 125.8 kB / 0.5945 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.993e-05/0.2906, allocations: 15.84 kB / 0.5945 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.2921, allocations: 269.4 kB / 0.5948 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.2921, allocations: 7.984 kB / 0.5948 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2922, allocations: 3.938 kB / 0.5948 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2922, allocations: 0 / 0.5948 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.2954, allocations: 1.066 MB / 0.5958 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2955, allocations: 4 kB / 0.5959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.296, allocations: 44.03 kB / 0.5959 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.296, allocations: 7.938 kB / 0.5959 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.2961, allocations: 7.984 kB / 0.5959 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2961, allocations: 0 / 0.5959 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.2961, allocations: 3.938 kB / 0.5959 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.2975, allocations: 356.8 kB / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.2976, allocations: 89 kB / 0.5963 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.2977, allocations: 4 kB / 0.5963 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.2983, allocations: 27.97 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.2984, allocations: 7.984 kB / 0.5964 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2984, allocations: 4 kB / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001427/0.2986, allocations: 123.2 kB / 0.5965 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2986, allocations: 0 / 0.5965 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008516/0.2995, allocations: 135.8 kB / 0.5966 GB, free: 7.129 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.002664/0.3021, allocations: 1.003 MB / 0.5976 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.3036, allocations: 243.8 kB / 0.5978 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3036, allocations: 0 / 0.5978 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.3043, allocations: 108.1 kB / 0.5979 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.3052, allocations: 50.06 kB / 0.598 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008857/0.3141, allocations: 2.409 MB / 0.6003 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3145, allocations: 0.7125 MB / 0.601 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000408/0.3149, allocations: 33.27 kB / 0.6011 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3152, allocations: 43.42 kB / 0.6011 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.3152, allocations: 0 / 0.6011 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7611/1.076, allocations: 6.183 MB / 0.6071 GB, free: 52.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.077, allocations: 213.4 kB / 0.6074 GB, free: 52.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/4.456, allocations: 4.344 kB / 0.6074 GB, free: 52.2 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)