Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_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.004427/0.004427, allocations: 99.75 kB / 15.73 MB, free: 6.453 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.001391/0.001391, allocations: 196.3 kB / 16.68 MB, free: 6.352 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.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.9543/0.9543, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 67.89 kB / 0.5858 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3732, allocations: 81.02 MB / 0.6649 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002535/0.3758, allocations: 2.007 MB / 0.6668 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3775, allocations: 1.657 MB / 0.6685 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.3776, allocations: 2.5 kB / 0.6685 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.3777, allocations: 17.3 kB / 0.6685 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.3778, allocations: 52.55 kB / 0.6685 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.3785, allocations: 355.5 kB / 0.6689 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.3787, allocations: 225 kB / 0.6691 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3788, allocations: 55.77 kB / 0.6691 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.3789, allocations: 77.16 kB / 0.6692 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3791, allocations: 88.44 kB / 0.6693 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.3791, allocations: 19.53 kB / 0.6693 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.3798, allocations: 414.9 kB / 0.6697 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.3798, allocations: 46.28 kB / 0.6697 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.3799, allocations: 89.38 kB / 0.6698 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.3804, allocations: 425 kB / 0.6702 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3804, allocations: 0 / 0.6702 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3804, allocations: 0 / 0.6702 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3804, allocations: 1.219 kB / 0.6702 GB, free: 2.789 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006367/0.381, allocations: 0.5256 MB / 0.6707 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3811, allocations: 13.47 kB / 0.6708 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.3811, allocations: 59.86 kB / 0.6708 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005281/0.3816, allocations: 86.55 kB / 0.6709 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.65e-05/0.3817, allocations: 181.4 kB / 0.6711 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.3818, allocations: 49.94 kB / 0.6711 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3818, allocations: 17.56 kB / 0.6711 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.3822, allocations: 178.8 kB / 0.6713 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3822, allocations: 0 / 0.6713 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3822, allocations: 9.078 kB / 0.6713 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3822, allocations: 3.625 kB / 0.6713 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.3826, allocations: 183.7 kB / 0.6715 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3837, allocations: 0.9237 MB / 0.6724 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.3842, allocations: 170.8 kB / 0.6726 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.3844, allocations: 72.73 kB / 0.6726 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004753/0.3848, allocations: 0.5202 MB / 0.6731 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3849, allocations: 40.72 kB / 0.6732 GB, free: 20 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3849, allocations: 0 / 0.6732 GB, free: 20 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007147/0.3856, allocations: 234 kB / 0.6734 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3857, allocations: 53.84 kB / 0.6735 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3858, allocations: 161.1 kB / 0.6736 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3858, allocations: 30.67 kB / 0.6736 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.3859, allocations: 117.3 kB / 0.6737 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.386, allocations: 62.14 kB / 0.6738 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.3861, allocations: 34.23 kB / 0.6738 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3862, allocations: 330.2 kB / 0.6742 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.3864, allocations: 68.19 kB / 0.6742 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.3867, allocations: 99.44 kB / 0.6743 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.3871, allocations: 156.2 kB / 0.6745 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3871, allocations: 0 / 0.6745 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004959/0.3876, allocations: 216.6 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3876, allocations: 7.531 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3876, allocations: 1.438 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3876, allocations: 1.531 kB / 0.6747 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.3879, allocations: 35.09 kB / 0.6747 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3879, allocations: 1.469 kB / 0.6747 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3881, allocations: 32.56 kB / 0.6747 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3881, allocations: 12.3 kB / 0.6748 GB, free: 14.8 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 (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 0.0001096/0.3882, allocations: 132.6 kB / 0.6749 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.3883, allocations: 10.7 kB / 0.6749 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.3888, allocations: 190.1 kB / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3888, allocations: 6.688 kB / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3888, allocations: 0 / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3888, allocations: 3.938 kB / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.3902, allocations: 0.9855 MB / 0.676 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3903, allocations: 1.312 kB / 0.676 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.3905, allocations: 30.47 kB / 0.6761 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3905, allocations: 1.312 kB / 0.6761 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3905, allocations: 5.094 kB / 0.6761 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3905, allocations: 5.625 kB / 0.6761 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3905, allocations: 1 kB / 0.6761 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.391, allocations: 296.1 kB / 0.6764 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.3911, allocations: 90.09 kB / 0.6765 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.3911, allocations: 1.031 kB / 0.6765 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.3914, allocations: 23.89 kB / 0.6765 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3914, allocations: 9.078 kB / 0.6765 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3914, allocations: 8.484 kB / 0.6765 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.711e-05/0.3915, allocations: 115.3 kB / 0.6766 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3915, allocations: 0 / 0.6766 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004361/0.392, allocations: 141.5 kB / 0.6767 GB, free: 13.03 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 (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.001115/0.3931, allocations: 0.9455 MB / 0.6777 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.3936, allocations: 175.9 kB / 0.6778 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3936, allocations: 0 / 0.6778 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.3938, allocations: 92.47 kB / 0.6779 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3942, allocations: 39.38 kB / 0.678 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.397, allocations: 2.069 MB / 0.68 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3974, allocations: 0.7099 MB / 0.6807 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.3975, allocations: 27.39 kB / 0.6807 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.3976, allocations: 42.02 kB / 0.6807 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.3976, allocations: 1.125 kB / 0.6807 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2021/0.5997, allocations: 6.027 MB / 0.6866 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.223, allocations: 7.938 kB / 0.6866 GB, free: 6.57 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)