Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.001346/0.001346, allocations: 82.48 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001579/0.001579, allocations: 167.2 kB / 22.45 MB, free: 4.984 MB / 14.72 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 1.361/1.361, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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 1.154/1.154, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 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 178] 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.6187 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.644e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006649/0.006686, allocations: 4.209 MB / 0.6228 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003637/0.01032, allocations: 1.823 MB / 0.6246 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.01063, allocations: 11.94 kB / 0.6246 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.01251, allocations: 0.5943 MB / 0.6252 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.01337, allocations: 274.3 kB / 0.6255 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.01418, allocations: 247.3 kB / 0.6257 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000933/0.01512, allocations: 0.6189 MB / 0.6263 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006896/0.01581, allocations: 343.1 kB / 0.6266 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.01636, allocations: 351.2 kB / 0.627 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.0169, allocations: 235.4 kB / 0.6272 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.01697, allocations: 36 kB / 0.6272 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.0175, allocations: 239.3 kB / 0.6275 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.01768, allocations: 159.5 kB / 0.6276 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.01789, allocations: 155.6 kB / 0.6278 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008357/0.01873, allocations: 0.6231 MB / 0.6284 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.01874, allocations: 0 / 0.6284 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.01874, allocations: 0 / 0.6284 GB, free: 10.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.01875, allocations: 3.938 kB / 0.6284 GB, free: 10.68 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001318/0.02007, allocations: 0.6571 MB / 0.629 GB, free: 9.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.0201, allocations: 8.031 kB / 0.629 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.02111, allocations: 164.4 kB / 0.6292 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.02162, allocations: 268.6 kB / 0.6294 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.02165, allocations: 29.36 kB / 0.6295 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.02172, allocations: 28.38 kB / 0.6295 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.02272, allocations: 0.6826 MB / 0.6302 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.02273, allocations: 8.125 kB / 0.6302 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.02278, allocations: 20.38 kB / 0.6302 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.02285, allocations: 28.58 kB / 0.6302 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.02347, allocations: 390.3 kB / 0.6306 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.02587, allocations: 1.664 MB / 0.6322 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.02642, allocations: 246.5 kB / 0.6324 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.02659, allocations: 100.8 kB / 0.6325 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.02661, allocations: 0 / 0.6325 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.02664, allocations: 38.5 kB / 0.6326 GB, free: 6.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.02664, allocations: 0 / 0.6326 GB, free: 6.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002189/0.02883, allocations: 0.9007 MB / 0.6335 GB, free: 5.219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.02888, allocations: 55.41 kB / 0.6335 GB, free: 5.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.02919, allocations: 273.8 kB / 0.6338 GB, free: 4.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.02921, allocations: 25.7 kB / 0.6338 GB, free: 4.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.02939, allocations: 244 kB / 0.634 GB, free: 4.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.02946, allocations: 83.27 kB / 0.6341 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.02959, allocations: 69.98 kB / 0.6342 GB, free: 4.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.02976, allocations: 338.8 kB / 0.6345 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.02994, allocations: 104.6 kB / 0.6346 GB, free: 4.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.03019, allocations: 192.7 kB / 0.6348 GB, free: 3.781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.03064, allocations: 324.8 kB / 0.6351 GB, free: 3.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.03065, allocations: 4 kB / 0.6351 GB, free: 3.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007713/0.03142, allocations: 434.2 kB / 0.6355 GB, free: 2.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.03144, allocations: 8 kB / 0.6355 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.03145, allocations: 4 kB / 0.6355 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.03185, allocations: 90.5 kB / 0.6356 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.03214, allocations: 63.91 kB / 0.6357 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.03576, allocations: 4.008 MB / 0.6396 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.036, allocations: 8 kB / 0.6396 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.03603, allocations: 16 kB / 0.6396 GB, free: 14.47 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.03627, allocations: 178.6 kB / 0.6398 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.03633, allocations: 31.81 kB / 0.6398 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.0364, allocations: 34.27 kB / 0.6398 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.03641, allocations: 4.094 kB / 0.6398 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.03641, allocations: 7.938 kB / 0.6398 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.03642, allocations: 3.984 kB / 0.6399 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.03683, allocations: 285.1 kB / 0.6401 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.03683, allocations: 3.938 kB / 0.6401 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.03703, allocations: 39.97 kB / 0.6402 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.03735, allocations: 90.5 kB / 0.6403 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.03736, allocations: 4 kB / 0.6403 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.04076, allocations: 3.997 MB / 0.6442 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.04076, allocations: 3.984 kB / 0.6442 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.04177, allocations: 0.5518 MB / 0.6447 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.04189, allocations: 47.81 kB / 0.6447 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.04192, allocations: 4.219 kB / 0.6448 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.04213, allocations: 12 kB / 0.6448 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.04217, allocations: 19.95 kB / 0.6448 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.04219, allocations: 12 kB / 0.6448 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002137/0.0424, allocations: 189.1 kB / 0.645 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.0424, allocations: 0 / 0.645 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004846/0.04289, allocations: 99.94 kB / 0.6451 GB, free: 8.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.04303, allocations: 103.2 kB / 0.6452 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.04407, allocations: 0.5818 MB / 0.6457 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.04408, allocations: 0 / 0.6457 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.0446, allocations: 464.6 kB / 0.6462 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.04507, allocations: 69.19 kB / 0.6462 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.0463, allocations: 0.6861 MB / 0.6469 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.04655, allocations: 228 kB / 0.6471 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.04673, allocations: 58.94 kB / 0.6472 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.0468, allocations: 24.5 kB / 0.6472 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.0468, allocations: 0 / 0.6472 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of Templates: time 0.009827/0.05662, allocations: 4.371 MB / 0.6515 GB, free: 1.91 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.622213918715715] Failed to read output from testmodel.py, exit status != 0: 0.06603053398430347 0.08077683799999995 0.058826296999999944 Calling exit ...