Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001955/0.001955, allocations: 88.72 kB / 19.44 MB, free: 356 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.002422/0.002422, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.492/1.492, allocations: 177.2 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.26/1.26, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 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 178] 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: translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.857e-05, allocations: 3.219 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005406/0.005434, allocations: 3.035 MB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.008083, allocations: 1.302 MB / 0.5241 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.008227, allocations: 7.938 kB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.009398, allocations: 339.9 kB / 0.5244 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.009823, allocations: 145.7 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.01023, allocations: 139.5 kB / 0.5247 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.0107, allocations: 314.8 kB / 0.525 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.01111, allocations: 170.9 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.01138, allocations: 183.5 kB / 0.5253 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.01171, allocations: 127.6 kB / 0.5254 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.01175, allocations: 20 kB / 0.5254 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.01205, allocations: 147.5 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.01217, allocations: 88.23 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.01229, allocations: 77.3 kB / 0.5257 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.01282, allocations: 347 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01282, allocations: 0 / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01282, allocations: 0 / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.01283, allocations: 0 / 0.5261 GB, free: 11.93 MB / 0.4948 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.0008978/0.01373, allocations: 455.4 kB / 0.5265 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.01376, allocations: 8.031 kB / 0.5265 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.01445, allocations: 121.8 kB / 0.5266 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.0148, allocations: 198.5 kB / 0.5268 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.01483, allocations: 16.73 kB / 0.5268 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.01486, allocations: 21 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.01545, allocations: 371.1 kB / 0.5272 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01546, allocations: 192 / 0.5272 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01549, allocations: 12.38 kB / 0.5272 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.01554, allocations: 20.3 kB / 0.5272 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.0159, allocations: 193 kB / 0.5274 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.01758, allocations: 0.9921 MB / 0.5284 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.01785, allocations: 90.55 kB / 0.5285 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.407e-05/0.01793, allocations: 33.59 kB / 0.5285 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.01793, allocations: 0 / 0.5285 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.01798, allocations: 43.19 kB / 0.5286 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.01798, allocations: 0 / 0.5286 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005042/0.01848, allocations: 151.8 kB / 0.5287 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01853, allocations: 55.41 kB / 0.5288 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.01876, allocations: 186.1 kB / 0.5289 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01878, allocations: 25.7 kB / 0.529 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.01892, allocations: 171.9 kB / 0.5291 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.01896, allocations: 31.73 kB / 0.5292 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.01902, allocations: 33.72 kB / 0.5292 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.01921, allocations: 326.8 kB / 0.5295 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.01929, allocations: 35.98 kB / 0.5295 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.01943, allocations: 99.31 kB / 0.5296 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.01965, allocations: 153.3 kB / 0.5298 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.01966, allocations: 4.938 kB / 0.5298 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003721/0.02003, allocations: 200.3 kB / 0.53 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.02004, allocations: 4 kB / 0.53 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.02005, allocations: 4 kB / 0.53 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.02031, allocations: 39.08 kB / 0.53 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.02045, allocations: 27.92 kB / 0.53 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.02179, allocations: 1.298 MB / 0.5313 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.02192, allocations: 15.89 kB / 0.5313 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.02193, allocations: 6.438 kB / 0.5313 GB, free: 6.176 MB / 0.4948 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 0.0001608/0.02209, allocations: 149.8 kB / 0.5315 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.02213, allocations: 11.91 kB / 0.5315 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.02217, allocations: 21.45 kB / 0.5315 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.02217, allocations: 7.938 kB / 0.5315 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.02218, allocations: 2.875 kB / 0.5315 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.02218, allocations: 0 / 0.5315 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.02275, allocations: 367.2 kB / 0.5319 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02275, allocations: 0 / 0.5319 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.02279, allocations: 8 kB / 0.5319 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.02296, allocations: 33.92 kB / 0.5319 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.02297, allocations: 0 / 0.5319 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.02419, allocations: 1.286 MB / 0.5332 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02419, allocations: 0.9062 kB / 0.5332 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.02449, allocations: 220.3 kB / 0.5334 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.02454, allocations: 27.73 kB / 0.5334 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.02455, allocations: 0 / 0.5334 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.02467, allocations: 7.938 kB / 0.5334 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.0247, allocations: 7.984 kB / 0.5334 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.0247, allocations: 4 kB / 0.5334 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001445/0.02485, allocations: 132.3 kB / 0.5335 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.02485, allocations: 3.938 kB / 0.5335 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000355/0.0252, allocations: 59.84 kB / 0.5336 GB, free: 3.684 MB / 0.4948 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 0.0001402/0.02534, allocations: 98.25 kB / 0.5337 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.02576, allocations: 206.5 kB / 0.5339 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02576, allocations: 0 / 0.5339 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.02594, allocations: 146.1 kB / 0.534 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.02632, allocations: 25.62 kB / 0.5341 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.02703, allocations: 352.9 kB / 0.5344 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.02721, allocations: 139.5 kB / 0.5345 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.856e-05/0.0273, allocations: 22.75 kB / 0.5345 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.02734, allocations: 16.5 kB / 0.5346 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.02734, allocations: 0.5625 kB / 0.5346 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of Templates: time 0.005591/0.03293, allocations: 1.666 MB / 0.5362 GB, free: 1.074 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.869680311065167]