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.0007925/0.0007925, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001606/0.001606, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.875/0.875, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7259/0.7259, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.618 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.39e-05, allocations: 10.19 kB / 0.6181 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002472/0.002496, allocations: 1.963 MB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.004269, allocations: 1.518 MB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.004326, allocations: 0 / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.212e-05/0.004378, allocations: 19.8 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.004458, allocations: 51.55 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.005347, allocations: 362.5 kB / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.005545, allocations: 231 kB / 0.6221 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.005686, allocations: 37.64 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005805, allocations: 127.8 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.005911, allocations: 63.86 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.005942, allocations: 16 kB / 0.6223 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006096/0.006551, allocations: 411.3 kB / 0.6227 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.006587, allocations: 43.89 kB / 0.6228 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.00665, allocations: 67.83 kB / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.007174, allocations: 486.6 kB / 0.6233 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007177, allocations: 0 / 0.6233 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.007179, allocations: 0 / 0.6233 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.007185, allocations: 4 kB / 0.6233 GB, free: 8.195 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.0006457/0.007831, allocations: 449.2 kB / 0.6237 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.007876, allocations: 13.47 kB / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.007924, allocations: 54.73 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.009364, allocations: 320.4 kB / 0.6241 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.009472, allocations: 133.5 kB / 0.6242 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.009572, allocations: 71.97 kB / 0.6243 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.009608, allocations: 12.38 kB / 0.6243 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/0.0104, allocations: 393.2 kB / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.01041, allocations: 192 / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.01044, allocations: 8.375 kB / 0.6247 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.01045, allocations: 11.88 kB / 0.6247 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.01147, allocations: 367.6 kB / 0.625 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.01262, allocations: 0.7645 MB / 0.6258 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.0148, allocations: 0.6424 MB / 0.6264 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.01534, allocations: 200.7 kB / 0.6266 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.145e-05/0.01543, allocations: 15.98 kB / 0.6266 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.01546, allocations: 38.5 kB / 0.6267 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.01546, allocations: 0 / 0.6267 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.002218/0.01768, allocations: 0.7227 MB / 0.6274 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.0177, allocations: 51.41 kB / 0.6274 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.01782, allocations: 154.4 kB / 0.6276 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.01785, allocations: 29.7 kB / 0.6276 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.01791, allocations: 111.9 kB / 0.6277 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.01795, allocations: 55.53 kB / 0.6277 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.01803, allocations: 45.69 kB / 0.6278 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.0181, allocations: 322.8 kB / 0.6281 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.01865, allocations: 203.8 kB / 0.6283 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.01918, allocations: 213.7 kB / 0.6285 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009844/0.02017, allocations: 344.5 kB / 0.6288 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02017, allocations: 4 kB / 0.6288 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001337/0.02151, allocations: 0.4963 MB / 0.6293 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.02153, allocations: 7.938 kB / 0.6293 GB, free: 1.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.02153, allocations: 4 kB / 0.6293 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.02195, allocations: 118.1 kB / 0.6294 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.02272, allocations: 159.9 kB / 0.6296 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000544/0.02326, allocations: 0.6342 MB / 0.6302 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.02358, allocations: 63.86 kB / 0.6303 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.0236, allocations: 7.984 kB / 0.6303 GB, free: 0.7773 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 0.0001607/0.02376, allocations: 129.6 kB / 0.6304 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.0238, allocations: 11.91 kB / 0.6304 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.0253, allocations: 0.5352 MB / 0.6309 GB, free: 100 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.02531, allocations: 7.938 kB / 0.6309 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.02531, allocations: 0 / 0.6309 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.02532, allocations: 3.984 kB / 0.6309 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.02788, allocations: 0.9953 MB / 0.6319 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.02788, allocations: 4.031 kB / 0.6319 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.02862, allocations: 147.8 kB / 0.6321 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/0.02897, allocations: 119.9 kB / 0.6322 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.029, allocations: 15.98 kB / 0.6322 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004747/0.02947, allocations: 0.6342 MB / 0.6328 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.02948, allocations: 3.938 kB / 0.6328 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.03097, allocations: 0.5446 MB / 0.6333 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.03101, allocations: 27.77 kB / 0.6334 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.03105, allocations: 4 kB / 0.6334 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.03136, allocations: 55.92 kB / 0.6334 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.03139, allocations: 15.92 kB / 0.6334 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.03141, allocations: 7.984 kB / 0.6335 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.797e-05/0.03148, allocations: 119.2 kB / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.03148, allocations: 0 / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003936/0.03187, allocations: 131.6 kB / 0.6337 GB, free: 13.16 MB / 0.6042 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.001871/0.03374, allocations: 1.221 MB / 0.6349 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.03516, allocations: 463.7 kB / 0.6353 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.03516, allocations: 0 / 0.6353 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.03587, allocations: 231.7 kB / 0.6355 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.03624, allocations: 56 kB / 0.6356 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/0.04181, allocations: 2.925 MB / 0.6385 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.225e-05/0.04188, allocations: 98.92 kB / 0.6386 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.04207, allocations: 48.67 kB / 0.6386 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.04222, allocations: 52.45 kB / 0.6386 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.343e-06/0.04222, allocations: 0 / 0.6386 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.06689, allocations: 9.326 MB / 0.6478 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/7.89, allocations: 6.094 kB / 0.6478 GB, free: 14.86 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.553127786144614] Failed to read output from testmodel.py, exit status != 0: 7.980605048127472 7.989909936 7.980641721 Calling exit ...