Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.0008016/0.0008016, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007954/0.0007954, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8727/0.8727, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.7269/0.7269, allocations: 154.6 MB / 414.5 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: translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.809e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00125/0.001278, allocations: 0.532 MB / 0.6198 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000159/0.001437, allocations: 35.88 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.001488, allocations: 3.938 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.001517, allocations: 4 kB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.001672, allocations: 7.938 kB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.28e-05/0.001725, allocations: 7.922 kB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.001793, allocations: 11.98 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.001831, allocations: 4 kB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.00189, allocations: 11.92 kB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.001956, allocations: 7.938 kB / 0.6199 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.001978, allocations: 0 / 0.6199 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.001987, allocations: 0 / 0.6199 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.002038, allocations: 7.984 kB / 0.6199 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.002061, allocations: 8 kB / 0.6199 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.647e-05/0.002128, allocations: 19.84 kB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00213, allocations: 0 / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00213, allocations: 0 / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.002135, allocations: 4 kB / 0.62 GB, free: 12.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003518/0.002486, allocations: 246.4 kB / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.002526, allocations: 12.03 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.002554, allocations: 0.9375 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.002711, allocations: 121.7 kB / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.00272, allocations: 384 / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.002737, allocations: 384 / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.873e-05/0.002805, allocations: 38.25 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.002813, allocations: 192 / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.002821, allocations: 4.312 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.002826, allocations: 384 / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.002844, allocations: 7.938 kB / 0.6204 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.002958, allocations: 105.3 kB / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.002997, allocations: 18.58 kB / 0.6205 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.003012, allocations: 4.922 kB / 0.6205 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.003026, allocations: 4 kB / 0.6205 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.003044, allocations: 34.56 kB / 0.6205 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.003045, allocations: 4 kB / 0.6205 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.003182, allocations: 49.61 kB / 0.6206 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.003215, allocations: 51.41 kB / 0.6206 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.003287, allocations: 113.8 kB / 0.6207 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.003298, allocations: 25.7 kB / 0.6208 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.003334, allocations: 84.14 kB / 0.6208 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.003357, allocations: 3.953 kB / 0.6208 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.003384, allocations: 13.72 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.003471, allocations: 318.8 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.003485, allocations: 4.125 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.868e-05/0.003503, allocations: 17.72 kB / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.581e-05/0.003549, allocations: 25.64 kB / 0.6212 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.003551, allocations: 0 / 0.6212 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.487e-05/0.003606, allocations: 49.62 kB / 0.6213 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.003619, allocations: 4 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.003623, allocations: 7.938 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.003636, allocations: 0 / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.003701, allocations: 12.31 kB / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.003707, allocations: 0 / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.003723, allocations: 7.938 kB / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.003731, allocations: 3.984 kB / 0.6213 GB, free: 10.97 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.725e-05/0.003788, allocations: 110.8 kB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-06/0.003794, allocations: 4 kB / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.251e-05/0.003877, allocations: 53.09 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.003879, allocations: 0 / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.003883, allocations: 0 / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.003888, allocations: 7.938 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.882e-05/0.003957, allocations: 113.3 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.003959, allocations: 3.938 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.003996, allocations: 4 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.003998, allocations: 0 / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.004007, allocations: 3.984 kB / 0.6216 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004008, allocations: 0 / 0.6216 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.004009, allocations: 0 / 0.6216 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.004108, allocations: 81.02 kB / 0.6217 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.004128, allocations: 12.02 kB / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.004139, allocations: 0 / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.004149, allocations: 96 / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.004164, allocations: 4 kB / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.004166, allocations: 0 / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.004207, allocations: 91.27 kB / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004207, allocations: 0 / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001193/0.004326, allocations: 7.938 kB / 0.6218 GB, free: 10.42 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 7.931e-05/0.004405, allocations: 95.19 kB / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.004486, allocations: 11.98 kB / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.004487, allocations: 0 / 0.6219 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.004495, allocations: 12.12 kB / 0.6219 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.004608, allocations: 4 kB / 0.6219 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.004873, allocations: 142.6 kB / 0.622 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.263e-05/0.004915, allocations: 63.28 kB / 0.6221 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.004941, allocations: 12.5 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.004941, allocations: 3.938 kB / 0.6221 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.001582/0.006523, allocations: 0.5234 MB / 0.6226 GB, free: 9.492 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4316026493906975] Failed to read output from testmodel.py, exit status != 0: 0.011154025793075562 0.01838307 0.014693874 Calling exit ...