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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 219.5 kB / 22.25 MB, free: 3.594 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9679/0.9679, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7938/0.7938, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009783/0.0009783, allocations: 70.36 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5127, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002601/0.5153, allocations: 1.979 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.5172, allocations: 1.518 MB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.5173, allocations: 4.906 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.427e-05/0.5174, allocations: 18.14 kB / 0.8212 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.5175, allocations: 49.12 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.5185, allocations: 356.5 kB / 0.8216 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.5187, allocations: 226.2 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.5188, allocations: 38.56 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.5189, allocations: 86.64 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.519, allocations: 73.33 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.5191, allocations: 18.28 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.5197, allocations: 415.6 kB / 0.8224 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.5197, allocations: 41.8 kB / 0.8225 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.5198, allocations: 72.3 kB / 0.8225 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.5203, allocations: 429 kB / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5203, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5203, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.5203, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.6198 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.0006721/0.521, allocations: 458.4 kB / 0.8234 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5211, allocations: 8.844 kB / 0.8234 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.5211, allocations: 48.09 kB / 0.8234 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.5227, allocations: 327.6 kB / 0.8238 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.5229, allocations: 130.1 kB / 0.8239 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.523, allocations: 79.19 kB / 0.824 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.523, allocations: 14.75 kB / 0.824 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.5239, allocations: 396.8 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5239, allocations: 0 / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.524, allocations: 5.312 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.524, allocations: 4.062 kB / 0.8244 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.5251, allocations: 367.3 kB / 0.8247 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.5267, allocations: 0.7689 MB / 0.8255 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.5292, allocations: 0.6479 MB / 0.8261 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.5298, allocations: 193.5 kB / 0.8263 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.5299, allocations: 18.92 kB / 0.8263 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5299, allocations: 33 kB / 0.8263 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.464e-06/0.5299, allocations: 0 / 0.8263 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002526/0.5325, allocations: 0.7186 MB / 0.827 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.5325, allocations: 54.28 kB / 0.8271 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.5326, allocations: 161.1 kB / 0.8272 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.5327, allocations: 34.98 kB / 0.8273 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.5327, allocations: 113.9 kB / 0.8274 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.5328, allocations: 54.48 kB / 0.8274 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.5329, allocations: 46.67 kB / 0.8275 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.533, allocations: 325.8 kB / 0.8278 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.5336, allocations: 198.9 kB / 0.828 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.5342, allocations: 200.9 kB / 0.8282 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5353, allocations: 357.3 kB / 0.8285 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5353, allocations: 0.9688 kB / 0.8285 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001604/0.5369, allocations: 0.5012 MB / 0.829 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.5369, allocations: 9.672 kB / 0.829 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.5369, allocations: 0.5 kB / 0.829 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.5374, allocations: 120.6 kB / 0.8291 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/0.5384, allocations: 156.5 kB / 0.8293 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005761/0.5389, allocations: 0.6277 MB / 0.8299 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.5393, allocations: 67.53 kB / 0.8299 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.5393, allocations: 12.42 kB / 0.83 GB, free: 10.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.5395, allocations: 128.8 kB / 0.8301 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.5395, allocations: 23.39 kB / 0.8301 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.5412, allocations: 0.5262 MB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5412, allocations: 9.375 kB / 0.8306 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5412, allocations: 2.25 kB / 0.8306 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5412, allocations: 0.6562 kB / 0.8306 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.544, allocations: 0.994 MB / 0.8316 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.544, allocations: 1 kB / 0.8316 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/0.5449, allocations: 145.4 kB / 0.8317 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.5453, allocations: 126.6 kB / 0.8319 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.5453, allocations: 10.33 kB / 0.8319 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005278/0.5458, allocations: 0.6301 MB / 0.8325 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5458, allocations: 0 / 0.8325 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.5474, allocations: 0.5601 MB / 0.833 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.5474, allocations: 16.67 kB / 0.833 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.5475, allocations: 6.969 kB / 0.833 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.5478, allocations: 59.52 kB / 0.8331 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.5479, allocations: 10.98 kB / 0.8331 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.5479, allocations: 12.69 kB / 0.8331 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.72e-05/0.548, allocations: 122.3 kB / 0.8332 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.548, allocations: 0 / 0.8332 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005448/0.5485, allocations: 132.2 kB / 0.8334 GB, free: 8.551 MB / 0.6198 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002059/0.5506, allocations: 1.212 MB / 0.8346 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.5522, allocations: 447 kB / 0.835 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5522, allocations: 0 / 0.835 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008097/0.553, allocations: 242.5 kB / 0.8352 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.5534, allocations: 51.17 kB / 0.8353 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/0.5593, allocations: 2.938 MB / 0.8381 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.584e-05/0.5594, allocations: 93.66 kB / 0.8382 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.5596, allocations: 54.52 kB / 0.8383 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.5597, allocations: 51.08 kB / 0.8383 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of SimCode: time 1.813e-06/0.5597, allocations: 0 / 0.8383 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.5853, allocations: 9.22 MB / 0.8473 GB, free: 400 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.568, allocations: 4.859 kB / 0.8473 GB, free: 400 kB / 0.6198 GB " [Timeout remaining time 651] (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 --stepSize=0.04 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.499680583830923] Failed to read output from testmodel.py, exit status != 0: 8.654351439327002 8.66853468 8.145853774999999 Calling exit ...