Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.000802/0.000802, allocations: 76.5 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.0007752/0.0007752, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8239/0.8239, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6819/0.6819, allocations: 154.6 MB / 414.5 MB, free: 0.832 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.056e-05, allocations: 6.219 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001053/0.001074, allocations: 0.5924 MB / 0.6199 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.867e-05/0.001112, allocations: 4 kB / 0.6199 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.001128, allocations: 0 / 0.6199 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.001154, allocations: 0 / 0.6199 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.00116, allocations: 0 / 0.6199 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.972e-05/0.00119, allocations: 4 kB / 0.6199 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.00124, allocations: 3.984 kB / 0.6199 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.001281, allocations: 7.938 kB / 0.6199 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.00131, allocations: 3.938 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.764e-05/0.001328, allocations: 0 / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.001345, allocations: 0 / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.956e-06/0.001348, allocations: 0 / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.00136, allocations: 3.938 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.001375, allocations: 0 / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 4.976e-05/0.001425, allocations: 4 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.001427, allocations: 0 / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.001428, allocations: 4 kB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.696e-06/0.001431, allocations: 0 / 0.6199 GB, free: 12.61 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.0002031/0.001634, allocations: 242.4 kB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.001669, allocations: 8.031 kB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.001695, allocations: 0.9375 kB / 0.6201 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.473e-05/0.001749, allocations: 105.8 kB / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.001758, allocations: 384 / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.001766, allocations: 384 / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.87e-05/0.001845, allocations: 26.27 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.001852, allocations: 192 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.001861, allocations: 4.375 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.001865, allocations: 4.375 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.001887, allocations: 7.875 kB / 0.6203 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.285e-05/0.00198, allocations: 97.33 kB / 0.6204 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/0.002017, allocations: 22.59 kB / 0.6204 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.002036, allocations: 4.859 kB / 0.6204 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.002046, allocations: 4.062 kB / 0.6204 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.002064, allocations: 30.56 kB / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.002065, allocations: 0 / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.002175, allocations: 41.64 kB / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.002205, allocations: 51.41 kB / 0.6205 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.492e-05/0.00223, allocations: 93.8 kB / 0.6206 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.002238, allocations: 29.7 kB / 0.6206 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.002258, allocations: 80.14 kB / 0.6207 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.002288, allocations: 3.984 kB / 0.6207 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.002312, allocations: 9.719 kB / 0.6207 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.002409, allocations: 322.8 kB / 0.621 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.002423, allocations: 4 kB / 0.621 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.002429, allocations: 0 / 0.621 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.821e-05/0.002458, allocations: 13.05 kB / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.00246, allocations: 0 / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.612e-05/0.002506, allocations: 33.64 kB / 0.6211 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.00252, allocations: 4 kB / 0.6211 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.002525, allocations: 4 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.002538, allocations: 3.938 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.002592, allocations: 0 / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.002598, allocations: 0 / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.002611, allocations: 11.92 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.002617, allocations: 0 / 0.6211 GB, free: 11.2 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.075e-05/0.002677, allocations: 118.9 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-06/0.002682, allocations: 0 / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.002696, allocations: 6.953 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.002698, allocations: 0 / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.002702, allocations: 0 / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.002705, allocations: 0 / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.205e-05/0.002767, allocations: 101.3 kB / 0.6213 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.002768, allocations: 0 / 0.6213 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.002786, allocations: 0 / 0.6213 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.002789, allocations: 3.984 kB / 0.6213 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.002797, allocations: 4 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.002798, allocations: 4 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.002799, allocations: 0 / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.573e-05/0.002865, allocations: 61.02 kB / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.002871, allocations: 4 kB / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-06/0.002881, allocations: 0 / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-06/0.002887, allocations: 0 / 0.6214 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.002902, allocations: 7.969 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.002903, allocations: 3.938 kB / 0.6214 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.002929, allocations: 75.28 kB / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.1e-08/0.002929, allocations: 4 kB / 0.6215 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001878/0.003116, allocations: 4.031 kB / 0.6215 GB, free: 10.75 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 9.105e-05/0.003207, allocations: 95.19 kB / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.222e-05/0.00328, allocations: 4 kB / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.003281, allocations: 0 / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-06/0.003287, allocations: 3.938 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.003414, allocations: 6.219 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001879/0.003602, allocations: 110.7 kB / 0.6217 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.003638, allocations: 55.36 kB / 0.6217 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.003655, allocations: 12.62 kB / 0.6218 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.003655, allocations: 0 / 0.6218 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of Templates: time 0.0012/0.004855, allocations: 331.9 kB / 0.6221 GB, free: 10.09 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.848742400296032] Failed to read output from testmodel.py, exit status != 0: 0.009360989555716515 0.017351801 0.014187572 Calling exit ...