Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.0007548/0.0007548, 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.0007738/0.0007738, 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.8702/0.8702, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7136/0.7136, allocations: 154.6 MB / 413.7 MB, free: 0.832 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_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.618 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.352e-05, allocations: 2.281 kB / 0.618 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.001983/0.001997, allocations: 1.972 MB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.003581, allocations: 1.518 MB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.003639, allocations: 4 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.003685, allocations: 15.8 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.003761, allocations: 55.55 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.00442, allocations: 365.9 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.004574, allocations: 227 kB / 0.6221 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.004686, allocations: 41.59 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004793, allocations: 127.8 kB / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.004879, allocations: 59.86 kB / 0.6223 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.004902, allocations: 20 kB / 0.6223 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.00535, allocations: 407.3 kB / 0.6227 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.005381, allocations: 43.89 kB / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.005429, allocations: 67.83 kB / 0.6228 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.005837, allocations: 482.7 kB / 0.6233 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005838, allocations: 3.938 kB / 0.6233 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005839, allocations: 0 / 0.6233 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005844, allocations: 4 kB / 0.6233 GB, free: 8.207 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.0005244/0.006368, allocations: 455.5 kB / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.006403, allocations: 9.469 kB / 0.6237 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.006442, allocations: 50.73 kB / 0.6238 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.007811, allocations: 320.4 kB / 0.6241 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.007888, allocations: 125.6 kB / 0.6242 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.007957, allocations: 75.95 kB / 0.6243 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.007986, allocations: 16.38 kB / 0.6243 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.008714, allocations: 389.3 kB / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.008721, allocations: 192 / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.008743, allocations: 4.375 kB / 0.6247 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.00875, allocations: 11.88 kB / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.00977, allocations: 367.6 kB / 0.625 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.01075, allocations: 0.7721 MB / 0.6258 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.0129, allocations: 0.6424 MB / 0.6264 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.01343, allocations: 196.7 kB / 0.6266 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.0135, allocations: 16 kB / 0.6266 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.01352, allocations: 38.44 kB / 0.6267 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.01352, allocations: 0 / 0.6267 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.002322/0.01584, allocations: 0.7168 MB / 0.6274 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.01587, allocations: 55.41 kB / 0.6274 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.01597, allocations: 146.4 kB / 0.6275 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.016, allocations: 29.7 kB / 0.6276 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.01605, allocations: 123.8 kB / 0.6277 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.01609, allocations: 51.53 kB / 0.6277 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.01616, allocations: 45.69 kB / 0.6278 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.01624, allocations: 326.8 kB / 0.6281 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.01678, allocations: 195.8 kB / 0.6283 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.01732, allocations: 211.8 kB / 0.6285 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.01831, allocations: 350.8 kB / 0.6288 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01831, allocations: 4 kB / 0.6288 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001286/0.0196, allocations: 0.498 MB / 0.6293 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01962, allocations: 5.875 kB / 0.6293 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01962, allocations: 0 / 0.6293 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.01995, allocations: 123.4 kB / 0.6294 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.02068, allocations: 151.9 kB / 0.6296 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004589/0.02114, allocations: 0.6381 MB / 0.6302 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.02142, allocations: 63.95 kB / 0.6303 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.02144, allocations: 7.984 kB / 0.6303 GB, free: 0.7969 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 9.682e-05/0.02153, allocations: 133.6 kB / 0.6304 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.02157, allocations: 15.91 kB / 0.6304 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.02297, allocations: 0.5342 MB / 0.6309 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.02297, allocations: 0 / 0.6309 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.02297, allocations: 0 / 0.6309 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.02298, allocations: 0 / 0.6309 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.02533, allocations: 0.999 MB / 0.6319 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02533, allocations: 8.031 kB / 0.6319 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.02603, allocations: 147.8 kB / 0.6321 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.02631, allocations: 127.9 kB / 0.6322 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.02634, allocations: 11.98 kB / 0.6322 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004533/0.02679, allocations: 0.6342 MB / 0.6328 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.0268, allocations: 4 kB / 0.6328 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.02807, allocations: 0.5523 MB / 0.6334 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.02809, allocations: 19.78 kB / 0.6334 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.02812, allocations: 11.98 kB / 0.6334 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.02841, allocations: 51.92 kB / 0.6334 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.02845, allocations: 15.92 kB / 0.6334 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.02847, allocations: 11.98 kB / 0.6335 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.02853, allocations: 115.2 kB / 0.6336 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.02853, allocations: 0 / 0.6336 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003666/0.0289, allocations: 127.6 kB / 0.6337 GB, free: 13.18 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.001914/0.03082, allocations: 1.228 MB / 0.6349 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.03212, allocations: 447.5 kB / 0.6353 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.03212, allocations: 0 / 0.6353 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/0.03279, allocations: 239.7 kB / 0.6355 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.03313, allocations: 56.02 kB / 0.6356 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.03805, allocations: 2.936 MB / 0.6385 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.87e-05/0.03812, allocations: 102.9 kB / 0.6386 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000167/0.03829, allocations: 53.11 kB / 0.6386 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.03841, allocations: 56.39 kB / 0.6387 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.03841, allocations: 4 kB / 0.6387 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.05829, allocations: 9.34 MB / 0.6478 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.001, allocations: 8.25 kB / 0.6478 GB, free: 14.88 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.610826710239053] Failed to read output from testmodel.py, exit status != 0: 8.096410471946001 8.108736345 8.101273936 Calling exit ...