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.00077/0.00077, 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.0008332/0.0008332, allocations: 170.3 kB / 22.45 MB, free: 2.109 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.8964/0.8964, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.6788/0.6788, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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 2.615e-06/2.615e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.684e-05, allocations: 3.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003919/0.003945, allocations: 1.98 MB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.005648, allocations: 1.522 MB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.005709, allocations: 4 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.393e-05/0.005773, allocations: 19.78 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.00586, allocations: 47.55 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.006671, allocations: 370.5 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.006854, allocations: 223 kB / 0.6222 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.006995, allocations: 43.47 kB / 0.6222 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.007105, allocations: 123.8 kB / 0.6223 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.007203, allocations: 67.84 kB / 0.6224 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.007227, allocations: 20 kB / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.007709, allocations: 411.3 kB / 0.6228 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.007741, allocations: 39.89 kB / 0.6228 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.00779, allocations: 63.89 kB / 0.6229 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.008231, allocations: 482.7 kB / 0.6233 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.008235, allocations: 0 / 0.6233 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.435e-06/0.008237, allocations: 3.984 kB / 0.6234 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.008242, allocations: 0 / 0.6234 GB, free: 8.254 MB / 0.5886 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.0005564/0.008799, allocations: 453.2 kB / 0.6238 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.008834, allocations: 15.97 kB / 0.6238 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.008875, allocations: 54.73 kB / 0.6239 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.009167, allocations: 88.73 kB / 0.6239 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.021e-05/0.009247, allocations: 121.6 kB / 0.6241 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.009326, allocations: 79.89 kB / 0.6241 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.009347, allocations: 12.38 kB / 0.6241 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.009628, allocations: 238.1 kB / 0.6244 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.009636, allocations: 192 / 0.6244 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.009655, allocations: 12.38 kB / 0.6244 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.009662, allocations: 7.938 kB / 0.6244 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.009836, allocations: 127.9 kB / 0.6245 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.0107, allocations: 0.6451 MB / 0.6251 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009156/0.01161, allocations: 322.3 kB / 0.6254 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.01173, allocations: 80.81 kB / 0.6255 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.01194, allocations: 63.92 kB / 0.6256 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.01196, allocations: 42.5 kB / 0.6256 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.01196, allocations: 4 kB / 0.6256 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0008673/0.01283, allocations: 384.6 kB / 0.626 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.01286, allocations: 67.27 kB / 0.6261 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.01295, allocations: 149.2 kB / 0.6262 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01297, allocations: 29.7 kB / 0.6262 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.01302, allocations: 119.9 kB / 0.6263 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.01305, allocations: 47.53 kB / 0.6264 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.0131, allocations: 41.7 kB / 0.6264 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.01318, allocations: 326.8 kB / 0.6267 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.0133, allocations: 83.91 kB / 0.6268 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01341, allocations: 90.19 kB / 0.6269 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.01363, allocations: 152.8 kB / 0.6271 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01363, allocations: 0 / 0.6271 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00045/0.01408, allocations: 289.8 kB / 0.6273 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01409, allocations: 8 kB / 0.6273 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.0141, allocations: 7.922 kB / 0.6273 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.01441, allocations: 116.8 kB / 0.6275 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.01492, allocations: 104 kB / 0.6276 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004623/0.01538, allocations: 0.642 MB / 0.6282 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.01546, allocations: 19.92 kB / 0.6282 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.01547, allocations: 8 kB / 0.6282 GB, free: 3.031 MB / 0.5886 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.553e-05/0.01555, allocations: 118.8 kB / 0.6283 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.01557, allocations: 15.91 kB / 0.6283 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.01605, allocations: 304.7 kB / 0.6286 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01605, allocations: 0 / 0.6286 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.01606, allocations: 0 / 0.6286 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01606, allocations: 0 / 0.6286 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.01697, allocations: 0.683 MB / 0.6293 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01697, allocations: 0 / 0.6293 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.01746, allocations: 99.95 kB / 0.6294 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/0.01771, allocations: 124.7 kB / 0.6295 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.01773, allocations: 11.98 kB / 0.6295 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005576/0.01828, allocations: 0.6225 MB / 0.6301 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01829, allocations: 4 kB / 0.6301 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.01873, allocations: 365.8 kB / 0.6305 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.01874, allocations: 15.89 kB / 0.6305 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.01876, allocations: 4 kB / 0.6305 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.01886, allocations: 15.98 kB / 0.6305 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.01889, allocations: 15.92 kB / 0.6305 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.0189, allocations: 11.98 kB / 0.6305 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.01895, allocations: 114.5 kB / 0.6307 GB, free: 424 kB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01895, allocations: 0 / 0.6307 GB, free: 424 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000265/0.01922, allocations: 135.5 kB / 0.6308 GB, free: 288 kB / 0.5886 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.0008386/0.02006, allocations: 1.027 MB / 0.6318 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.02051, allocations: 223.8 kB / 0.632 GB, free: 15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02051, allocations: 0 / 0.632 GB, free: 15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.02076, allocations: 127.8 kB / 0.6321 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.02104, allocations: 48.03 kB / 0.6322 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.02308, allocations: 2.205 MB / 0.6343 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.228e-05/0.02314, allocations: 98.94 kB / 0.6344 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.63e-05/0.02321, allocations: 21.75 kB / 0.6344 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.02327, allocations: 40.48 kB / 0.6345 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.02327, allocations: 0 / 0.6345 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.04191, allocations: 7.676 MB / 0.642 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.712, allocations: 9.703 kB / 0.642 GB, free: 4.926 MB / 0.6042 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.48943966627121] Failed to read output from testmodel.py, exit status != 0: 7.802706987597048 7.80959598 7.79960092 Calling exit ...