Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.00463/0.00463, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001218/0.001218, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9464/0.9464, allocations: 135.5 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.91 kB / 0.5857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3807, allocations: 81.02 MB / 0.6649 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002621/0.3834, allocations: 2.013 MB / 0.6668 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3853, allocations: 1.662 MB / 0.6685 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.3853, allocations: 1.25 kB / 0.6685 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.615e-05/0.3854, allocations: 18.47 kB / 0.6685 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.257e-05/0.3855, allocations: 48.53 kB / 0.6685 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008263/0.3863, allocations: 354.5 kB / 0.6689 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3865, allocations: 225.1 kB / 0.6691 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3867, allocations: 57.27 kB / 0.6691 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.3868, allocations: 72.88 kB / 0.6692 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3869, allocations: 91.81 kB / 0.6693 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.387, allocations: 18.97 kB / 0.6693 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.3877, allocations: 411.3 kB / 0.6697 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.3877, allocations: 46.58 kB / 0.6697 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.3878, allocations: 84.53 kB / 0.6698 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.3884, allocations: 438.1 kB / 0.6702 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3884, allocations: 0 / 0.6702 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3884, allocations: 0 / 0.6702 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3884, allocations: 1.688 kB / 0.6702 GB, free: 2.988 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.0006779/0.3891, allocations: 0.5204 MB / 0.6708 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3892, allocations: 10.19 kB / 0.6708 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.3892, allocations: 51.86 kB / 0.6708 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005399/0.3898, allocations: 90.89 kB / 0.6709 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.3898, allocations: 176.6 kB / 0.6711 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.3899, allocations: 54.75 kB / 0.6711 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.39, allocations: 17.28 kB / 0.6711 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.3903, allocations: 182.5 kB / 0.6713 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3904, allocations: 0 / 0.6713 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.3904, allocations: 6.344 kB / 0.6713 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3904, allocations: 2.594 kB / 0.6713 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.3908, allocations: 187.2 kB / 0.6715 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3919, allocations: 0.9203 MB / 0.6724 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3924, allocations: 170.5 kB / 0.6726 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3926, allocations: 81.61 kB / 0.6726 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/0.3931, allocations: 0.5198 MB / 0.6731 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.3931, allocations: 40.88 kB / 0.6732 GB, free: 228 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.3931, allocations: 0 / 0.6732 GB, free: 228 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006486/0.3938, allocations: 233 kB / 0.6734 GB, free: 100 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.3938, allocations: 54.16 kB / 0.6735 GB, free: 36 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.394, allocations: 160 kB / 0.6736 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.394, allocations: 27.98 kB / 0.6736 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.3941, allocations: 125.4 kB / 0.6738 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.3941, allocations: 53.88 kB / 0.6738 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.3942, allocations: 42.11 kB / 0.6738 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3944, allocations: 326.3 kB / 0.6742 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.3946, allocations: 80.33 kB / 0.6742 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3949, allocations: 94.67 kB / 0.6743 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.3953, allocations: 149.1 kB / 0.6745 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3953, allocations: 0 / 0.6745 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005633/0.3958, allocations: 215.4 kB / 0.6747 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3959, allocations: 5.344 kB / 0.6747 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3959, allocations: 5.141 kB / 0.6747 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3959, allocations: 1.344 kB / 0.6747 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.3961, allocations: 39.95 kB / 0.6747 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3962, allocations: 5.453 kB / 0.6747 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3963, allocations: 24.86 kB / 0.6748 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3964, allocations: 7.938 kB / 0.6748 GB, free: 15 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.0001282/0.3965, allocations: 128.2 kB / 0.6749 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.3965, allocations: 10.61 kB / 0.6749 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.3971, allocations: 196.9 kB / 0.6751 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3971, allocations: 6.625 kB / 0.6751 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3971, allocations: 0 / 0.6751 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3971, allocations: 0 / 0.6751 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.3986, allocations: 0.9827 MB / 0.676 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.3986, allocations: 3.984 kB / 0.6761 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.3988, allocations: 25.67 kB / 0.6761 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3989, allocations: 1.688 kB / 0.6761 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3989, allocations: 5.719 kB / 0.6761 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3989, allocations: 9.516 kB / 0.6761 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3989, allocations: 1.688 kB / 0.6761 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.3995, allocations: 289.3 kB / 0.6764 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.3995, allocations: 85.5 kB / 0.6764 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3996, allocations: 6.219 kB / 0.6765 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.3998, allocations: 15.08 kB / 0.6765 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.3999, allocations: 17.77 kB / 0.6765 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3999, allocations: 12.39 kB / 0.6765 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.666e-05/0.4, allocations: 124.7 kB / 0.6766 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4, allocations: 0 / 0.6766 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004999/0.4005, allocations: 133.9 kB / 0.6767 GB, free: 13.23 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.00123/0.4017, allocations: 0.9484 MB / 0.6777 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.4023, allocations: 173.2 kB / 0.6778 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4023, allocations: 1 kB / 0.6778 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.4025, allocations: 88.64 kB / 0.6779 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.403, allocations: 40.42 kB / 0.678 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.406, allocations: 2.076 MB / 0.68 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.4065, allocations: 0.7133 MB / 0.6807 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.4067, allocations: 26.33 kB / 0.6807 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.4068, allocations: 42.17 kB / 0.6807 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.4068, allocations: 1.094 kB / 0.6808 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4361, allocations: 6.053 MB / 0.6867 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/8.126, allocations: 17.42 kB / 0.6867 GB, free: 6.777 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)