Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.0007534/0.0007534, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0008085/0.0008085, allocations: 215.8 kB / 23 MB, free: 2.977 MB / 13.93 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.898/0.898, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7633/0.7633, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009198/0.0009198, allocations: 78.84 kB / 0.719 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4695, allocations: 102 MB / 0.8186 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003082/0.4725, allocations: 3.07 MB / 0.8216 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4739, allocations: 1.318 MB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.474, allocations: 4.625 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.4746, allocations: 331.5 kB / 0.8232 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.4749, allocations: 154 kB / 0.8233 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.4751, allocations: 134 kB / 0.8235 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.4753, allocations: 304.7 kB / 0.8237 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.4757, allocations: 184.3 kB / 0.8239 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4758, allocations: 128.8 kB / 0.824 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.476, allocations: 141.5 kB / 0.8242 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.4761, allocations: 18.28 kB / 0.8242 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.4762, allocations: 153.5 kB / 0.8243 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.4763, allocations: 79.36 kB / 0.8244 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.4764, allocations: 96.56 kB / 0.8245 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.4768, allocations: 335.6 kB / 0.8248 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4768, allocations: 0 / 0.8248 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4768, allocations: 1.406 kB / 0.8248 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.4768, allocations: 0 / 0.8248 GB, free: 13.57 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00059/0.4774, allocations: 457.7 kB / 0.8253 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4774, allocations: 8.969 kB / 0.8253 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.4777, allocations: 83.64 kB / 0.8254 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.478, allocations: 186.5 kB / 0.8255 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.478, allocations: 17.12 kB / 0.8256 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.478, allocations: 15.62 kB / 0.8256 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.4784, allocations: 378 kB / 0.8259 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4784, allocations: 0 / 0.8259 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.4784, allocations: 19.06 kB / 0.8259 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.4784, allocations: 17.53 kB / 0.826 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.4787, allocations: 203.1 kB / 0.8262 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.4796, allocations: 0.984 MB / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4797, allocations: 95.98 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.4798, allocations: 32.53 kB / 0.8272 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.4798, allocations: 1.922 kB / 0.8272 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4798, allocations: 37.16 kB / 0.8273 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4798, allocations: 0 / 0.8273 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003035/0.4801, allocations: 144.7 kB / 0.8274 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.4801, allocations: 52.38 kB / 0.8275 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4803, allocations: 187.9 kB / 0.8276 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.4803, allocations: 29.14 kB / 0.8277 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.4803, allocations: 176.5 kB / 0.8278 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.4804, allocations: 23.17 kB / 0.8279 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.4804, allocations: 36.12 kB / 0.8279 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.4805, allocations: 333.5 kB / 0.8282 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.4805, allocations: 32 kB / 0.8282 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.4806, allocations: 102.5 kB / 0.8283 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.4807, allocations: 146.6 kB / 0.8285 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4807, allocations: 1.219 kB / 0.8285 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000209/0.4809, allocations: 182.5 kB / 0.8287 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.481, allocations: 7.312 kB / 0.8287 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.481, allocations: 5.25 kB / 0.8287 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.4811, allocations: 26.86 kB / 0.8287 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.4812, allocations: 29.94 kB / 0.8287 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006951/0.4819, allocations: 1.298 MB / 0.83 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.4819, allocations: 13.33 kB / 0.83 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4819, allocations: 19.97 kB / 0.83 GB, free: 9.285 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.305e-05/0.482, allocations: 143.2 kB / 0.8302 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.482, allocations: 18.7 kB / 0.8302 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.4821, allocations: 19.61 kB / 0.8302 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.4821, allocations: 1.281 kB / 0.8302 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4821, allocations: 0 / 0.8302 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4821, allocations: 0.5156 kB / 0.8302 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.4824, allocations: 371.7 kB / 0.8306 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4824, allocations: 0 / 0.8306 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.4824, allocations: 11.22 kB / 0.8306 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.794e-05/0.4825, allocations: 24.59 kB / 0.8306 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.4825, allocations: 4.641 kB / 0.8306 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005816/0.4831, allocations: 1.284 MB / 0.8318 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4831, allocations: 0 / 0.8318 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.4832, allocations: 212.1 kB / 0.8321 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.4832, allocations: 24.41 kB / 0.8321 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.4833, allocations: 2.281 kB / 0.8321 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.4833, allocations: 2.797 kB / 0.8321 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.4833, allocations: 13.86 kB / 0.8321 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.4833, allocations: 5.469 kB / 0.8321 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.111e-05/0.4834, allocations: 138.7 kB / 0.8322 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4834, allocations: 3.938 kB / 0.8322 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002074/0.4836, allocations: 52.86 kB / 0.8323 GB, free: 7.25 MB / 0.6198 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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.53e-05/0.4837, allocations: 97.94 kB / 0.8324 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.484, allocations: 201.9 kB / 0.8326 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.484, allocations: 1.656 kB / 0.8326 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.4841, allocations: 143.2 kB / 0.8327 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.4843, allocations: 39.17 kB / 0.8327 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.4848, allocations: 401.1 kB / 0.8331 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.4849, allocations: 136.5 kB / 0.8333 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.485, allocations: 18.5 kB / 0.8333 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of SimCode: time 5.72e-07/0.485, allocations: 192 / 0.8333 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.004299/0.4893, allocations: 2.969 MB / 0.8362 GB, free: 6.277 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.857372778933495] Failed to read output from testmodel.py, exit status != 0: 0.4945568749681115 0.503068455 0.024534724 Calling exit ...