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.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.0008226/0.0008226, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008653/0.0008653, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8634/0.8634, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7211/0.7211, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.6181 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.121e-05, allocations: 5.234 kB / 0.6181 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002217/0.002239, allocations: 1.977 MB / 0.62 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.003756, allocations: 1.514 MB / 0.6215 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.003803, allocations: 0 / 0.6215 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.003849, allocations: 19.8 kB / 0.6215 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.003921, allocations: 51.48 kB / 0.6216 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.004615, allocations: 370.5 kB / 0.6219 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.004777, allocations: 231 kB / 0.6221 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.004891, allocations: 45.62 kB / 0.6222 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.004997, allocations: 119.8 kB / 0.6223 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.005085, allocations: 63.84 kB / 0.6224 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.005109, allocations: 20 kB / 0.6224 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.005572, allocations: 419.3 kB / 0.6228 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.005607, allocations: 43.89 kB / 0.6228 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.005654, allocations: 63.83 kB / 0.6229 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.00606, allocations: 482.7 kB / 0.6233 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006062, allocations: 0 / 0.6233 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006063, allocations: 0 / 0.6233 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.006068, allocations: 0 / 0.6233 GB, free: 7.18 MB / 0.5417 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.0005384/0.006606, allocations: 453.2 kB / 0.6238 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.006643, allocations: 16.03 kB / 0.6238 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.006681, allocations: 46.73 kB / 0.6238 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.006971, allocations: 92.73 kB / 0.6239 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/0.007049, allocations: 125.5 kB / 0.624 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.00712, allocations: 75.95 kB / 0.6241 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.007141, allocations: 16.38 kB / 0.6241 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.007425, allocations: 245.9 kB / 0.6244 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.007432, allocations: 192 / 0.6244 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.007448, allocations: 4.375 kB / 0.6244 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.007456, allocations: 7.938 kB / 0.6244 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.007641, allocations: 127.9 kB / 0.6245 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/0.008511, allocations: 0.6527 MB / 0.6251 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.00946, allocations: 318.2 kB / 0.6254 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.009574, allocations: 80.75 kB / 0.6255 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.009791, allocations: 75.92 kB / 0.6256 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.00981, allocations: 38.48 kB / 0.6256 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.009811, allocations: 4 kB / 0.6256 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0008537/0.01067, allocations: 390.2 kB / 0.626 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.01069, allocations: 55.41 kB / 0.6261 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01084, allocations: 156.1 kB / 0.6262 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01086, allocations: 33.7 kB / 0.6262 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.01091, allocations: 111.9 kB / 0.6263 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.01094, allocations: 55.53 kB / 0.6264 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.01099, allocations: 37.7 kB / 0.6264 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.01106, allocations: 326.8 kB / 0.6267 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.01118, allocations: 83.95 kB / 0.6268 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01129, allocations: 82.19 kB / 0.6269 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.01151, allocations: 158.1 kB / 0.6271 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01151, allocations: 0 / 0.6271 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004531/0.01197, allocations: 290.2 kB / 0.6273 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01198, allocations: 6.344 kB / 0.6273 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01198, allocations: 0 / 0.6273 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.0123, allocations: 124 kB / 0.6275 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.01282, allocations: 103.9 kB / 0.6276 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005941/0.01342, allocations: 0.6381 MB / 0.6282 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.0135, allocations: 23.92 kB / 0.6282 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.01351, allocations: 7.984 kB / 0.6282 GB, free: 1.949 MB / 0.5417 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 7.792e-05/0.01359, allocations: 133 kB / 0.6283 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.01362, allocations: 15.91 kB / 0.6284 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.01409, allocations: 284.6 kB / 0.6286 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01409, allocations: 4 kB / 0.6286 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01409, allocations: 4 kB / 0.6286 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.0141, allocations: 0 / 0.6286 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.01501, allocations: 0.6792 MB / 0.6293 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01501, allocations: 4 kB / 0.6293 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.01551, allocations: 95.97 kB / 0.6294 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.01577, allocations: 125.5 kB / 0.6295 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.01578, allocations: 7.922 kB / 0.6295 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004178/0.0162, allocations: 0.6265 MB / 0.6301 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0162, allocations: 0 / 0.6301 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.01665, allocations: 373.7 kB / 0.6305 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.01666, allocations: 11.89 kB / 0.6305 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01668, allocations: 8 kB / 0.6305 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.01678, allocations: 19.98 kB / 0.6305 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.01681, allocations: 11.97 kB / 0.6305 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01682, allocations: 4 kB / 0.6305 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.01687, allocations: 119.2 kB / 0.6307 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.01687, allocations: 0 / 0.6307 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002656/0.01714, allocations: 127.6 kB / 0.6308 GB, free: 15.2 MB / 0.5573 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.001081/0.01822, allocations: 1.04 MB / 0.6318 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.01867, allocations: 226 kB / 0.632 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01867, allocations: 0 / 0.632 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.01892, allocations: 123.8 kB / 0.6321 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.01919, allocations: 56.02 kB / 0.6322 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.02122, allocations: 2.186 MB / 0.6343 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.04e-05/0.02128, allocations: 110.8 kB / 0.6344 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.02135, allocations: 17.22 kB / 0.6344 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.02141, allocations: 48.42 kB / 0.6345 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.02141, allocations: 0 / 0.6345 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.04059, allocations: 7.676 MB / 0.642 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.656, allocations: 8.047 kB / 0.642 GB, free: 3.836 MB / 0.5573 GB " [Timeout remaining time 652] (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 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.503501654602587] Failed to read output from testmodel.py, exit status != 0: 7.743789359927177 8.022760463 8.014251416 Calling exit ...