Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.0008029/0.0008032, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004939/0.004939, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.208/1.208, allocations: 223.2 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6846/0.6846, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 9.875 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.305, allocations: 81.57 MB / 0.5837 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001539/0.3066, allocations: 1.736 MB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3085, allocations: 1.703 MB / 0.5871 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.3086, allocations: 2.688 kB / 0.5871 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.3086, allocations: 11.25 kB / 0.5871 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3087, allocations: 45.36 kB / 0.5872 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.3095, allocations: 299.7 kB / 0.5874 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3097, allocations: 212.6 kB / 0.5876 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3098, allocations: 39.89 kB / 0.5877 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.3099, allocations: 79.75 kB / 0.5878 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3101, allocations: 78.14 kB / 0.5878 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3101, allocations: 9.656 kB / 0.5878 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.3108, allocations: 387.6 kB / 0.5882 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.3108, allocations: 29.44 kB / 0.5882 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.3109, allocations: 108.8 kB / 0.5883 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.3114, allocations: 415.6 kB / 0.5887 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.3115, allocations: 0 / 0.5887 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3115, allocations: 1.062 kB / 0.5887 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3115, allocations: 0 / 0.5887 GB, free: 0.9258 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006161/0.3121, allocations: 0.4912 MB / 0.5892 GB, free: 488 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3121, allocations: 12.91 kB / 0.5892 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.3122, allocations: 52.16 kB / 0.5893 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005232/0.3127, allocations: 100.1 kB / 0.5894 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.584e-05/0.3128, allocations: 178.6 kB / 0.5895 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.3129, allocations: 48.23 kB / 0.5896 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.3129, allocations: 22.31 kB / 0.5896 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.3133, allocations: 180.2 kB / 0.5898 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3133, allocations: 7.938 kB / 0.5898 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.3133, allocations: 5.938 kB / 0.5898 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3133, allocations: 4.031 kB / 0.5898 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.3137, allocations: 190.7 kB / 0.59 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.315, allocations: 0.9117 MB / 0.5909 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.3155, allocations: 181.6 kB / 0.5911 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3156, allocations: 83.06 kB / 0.5911 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.3162, allocations: 0.521 MB / 0.5916 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3163, allocations: 35.91 kB / 0.5917 GB, free: 14.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3163, allocations: 0 / 0.5917 GB, free: 14.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006527/0.3169, allocations: 256.5 kB / 0.5919 GB, free: 14.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.317, allocations: 53.56 kB / 0.592 GB, free: 14.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3171, allocations: 156.7 kB / 0.5921 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3171, allocations: 31.36 kB / 0.5921 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.3172, allocations: 126.5 kB / 0.5923 GB, free: 14.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.3173, allocations: 50.16 kB / 0.5923 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.3173, allocations: 20.72 kB / 0.5923 GB, free: 13.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.3174, allocations: 324.4 kB / 0.5926 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3176, allocations: 80.11 kB / 0.5927 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3178, allocations: 105.5 kB / 0.5928 GB, free: 13.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.3182, allocations: 156.2 kB / 0.593 GB, free: 13.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3182, allocations: 0.6875 kB / 0.593 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004628/0.3187, allocations: 220.2 kB / 0.5932 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3187, allocations: 5.594 kB / 0.5932 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3187, allocations: 1.094 kB / 0.5932 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3187, allocations: 5.344 kB / 0.5932 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.3189, allocations: 42.06 kB / 0.5932 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3189, allocations: 1.375 kB / 0.5932 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.3191, allocations: 30.58 kB / 0.5933 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3191, allocations: 9 kB / 0.5933 GB, free: 13.38 MB / 446.1 MB 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 (20): * Single equations (assignments): 20 * 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.883e-05/0.3192, allocations: 134.7 kB / 0.5934 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.3193, allocations: 15.66 kB / 0.5934 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.3198, allocations: 204.2 kB / 0.5936 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3198, allocations: 6.078 kB / 0.5936 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3198, allocations: 0.7812 kB / 0.5936 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3198, allocations: 0.7969 kB / 0.5936 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.3211, allocations: 0.9905 MB / 0.5946 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3211, allocations: 0.7969 kB / 0.5946 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3213, allocations: 34.47 kB / 0.5946 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3213, allocations: 1.438 kB / 0.5946 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3213, allocations: 2.391 kB / 0.5946 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.3213, allocations: 14.69 kB / 0.5946 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3213, allocations: 0.6875 kB / 0.5946 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.3218, allocations: 301.1 kB / 0.5949 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.3219, allocations: 93.22 kB / 0.595 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3219, allocations: 2.688 kB / 0.595 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.3221, allocations: 22.33 kB / 0.595 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.3222, allocations: 10.8 kB / 0.595 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3222, allocations: 4 kB / 0.5951 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.3222, allocations: 128.3 kB / 0.5952 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3223, allocations: 0 / 0.5952 GB, free: 11.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.3227, allocations: 130.9 kB / 0.5953 GB, free: 11.77 MB / 446.1 MB 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 (14): * Single equations (assignments): 14 * 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.0009819/0.3237, allocations: 0.9528 MB / 0.5962 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.3241, allocations: 183.2 kB / 0.5964 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3241, allocations: 1.031 kB / 0.5964 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.3243, allocations: 89.34 kB / 0.5965 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3247, allocations: 37.7 kB / 0.5965 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.3272, allocations: 2.14 MB / 0.5986 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3274, allocations: 0.7106 MB / 0.5993 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.3276, allocations: 37.59 kB / 0.5993 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.3276, allocations: 42.41 kB / 0.5994 GB, free: 8.555 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3276, allocations: 0 / 0.5994 GB, free: 8.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.441/2.769, allocations: 5.67 MB / 0.6049 GB, free: 6.215 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.121/2.89, allocations: 211.5 kB / 0.6051 GB, free: 5.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/6.081, allocations: 4 kB / 0.6051 GB, free: 5.957 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)