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.005175/0.005175, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.001382/0.001382, allocations: 191.9 kB / 16.67 MB, free: 6.379 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.313/1.313, 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/package.mo): time 0.7361/0.7361, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.58 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 80.22 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00472/0.1771, allocations: 1.998 MB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.1799, allocations: 1.671 MB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1801, allocations: 4 kB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.355e-05/0.1801, allocations: 19.78 kB / 0.6628 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1803, allocations: 51.55 kB / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1815, allocations: 357.7 kB / 0.6632 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.1818, allocations: 227 kB / 0.6634 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.182, allocations: 49.86 kB / 0.6635 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1822, allocations: 79.83 kB / 0.6635 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1823, allocations: 91.66 kB / 0.6636 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.1824, allocations: 20 kB / 0.6636 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008147/0.1832, allocations: 407.5 kB / 0.664 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.1833, allocations: 39.89 kB / 0.6641 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.049e-05/0.1834, allocations: 91.66 kB / 0.6642 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.184, allocations: 427.7 kB / 0.6646 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.184, allocations: 0 / 0.6646 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1841, allocations: 0 / 0.6646 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.1841, allocations: 0 / 0.6646 GB, free: 8.453 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.0008792/0.185, allocations: 0.5147 MB / 0.6651 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.185, allocations: 15.97 kB / 0.6651 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.1851, allocations: 50.75 kB / 0.6651 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.1856, allocations: 84.73 kB / 0.6652 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1858, allocations: 180.2 kB / 0.6654 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/0.1859, allocations: 54.25 kB / 0.6654 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1859, allocations: 19.88 kB / 0.6655 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.1863, allocations: 185.4 kB / 0.6656 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1863, allocations: 4 kB / 0.6656 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.1864, allocations: 4 kB / 0.6656 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1864, allocations: 4 kB / 0.6656 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.1868, allocations: 183.8 kB / 0.6658 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1881, allocations: 0.9148 MB / 0.6667 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1885, allocations: 174.5 kB / 0.6669 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.1887, allocations: 76.83 kB / 0.6669 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006213/0.1894, allocations: 0.522 MB / 0.6675 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1894, allocations: 30.56 kB / 0.6675 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1894, allocations: 0 / 0.6675 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000672/0.1901, allocations: 233.4 kB / 0.6677 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1901, allocations: 51.41 kB / 0.6678 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1903, allocations: 162.5 kB / 0.6679 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1903, allocations: 29.7 kB / 0.6679 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.1904, allocations: 123.7 kB / 0.6681 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1904, allocations: 47.3 kB / 0.6681 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.1905, allocations: 37.7 kB / 0.6681 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1906, allocations: 326.8 kB / 0.6685 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1908, allocations: 71.95 kB / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.191, allocations: 101.6 kB / 0.6686 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.1914, allocations: 148.5 kB / 0.6688 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1914, allocations: 3.984 kB / 0.6688 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004494/0.1918, allocations: 217.3 kB / 0.669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1918, allocations: 8 kB / 0.669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1919, allocations: 3.938 kB / 0.669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1919, allocations: 0 / 0.669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.1921, allocations: 39.91 kB / 0.669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1921, allocations: 4 kB / 0.669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.1923, allocations: 23.83 kB / 0.669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1923, allocations: 4 kB / 0.6691 GB, free: 3.418 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 (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.0001071/0.1925, allocations: 130.4 kB / 0.6692 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.1925, allocations: 15.89 kB / 0.6692 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.193, allocations: 196.4 kB / 0.6694 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.193, allocations: 8 kB / 0.6694 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.193, allocations: 4 kB / 0.6694 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.193, allocations: 3.984 kB / 0.6694 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1944, allocations: 0.974 MB / 0.6703 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1944, allocations: 0 / 0.6703 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1946, allocations: 43.84 kB / 0.6704 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1946, allocations: 0 / 0.6704 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1946, allocations: 0 / 0.6704 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1946, allocations: 7.938 kB / 0.6704 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1946, allocations: 0 / 0.6704 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.1951, allocations: 289.1 kB / 0.6707 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.1951, allocations: 89 kB / 0.6708 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.1952, allocations: 11.98 kB / 0.6708 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1954, allocations: 15.92 kB / 0.6708 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1954, allocations: 15.92 kB / 0.6708 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1954, allocations: 8 kB / 0.6708 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.917e-05/0.1955, allocations: 122.3 kB / 0.6709 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1955, allocations: 0 / 0.6709 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004222/0.1959, allocations: 127.8 kB / 0.671 GB, free: 1.164 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 (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.0009869/0.1969, allocations: 0.9441 MB / 0.672 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.1974, allocations: 182.1 kB / 0.6721 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1974, allocations: 0 / 0.6721 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1976, allocations: 84.09 kB / 0.6722 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.198, allocations: 39.97 kB / 0.6723 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.2006, allocations: 2.054 MB / 0.6743 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2008, allocations: 0.7086 MB / 0.675 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.201, allocations: 27.73 kB / 0.675 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.2011, allocations: 43.41 kB / 0.675 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2011, allocations: 0 / 0.675 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.2247, allocations: 6.1 MB / 0.681 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.868, allocations: 13.11 kB / 0.681 GB, free: 7.027 MB / 0.5137 GB (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)