Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001443/0.001443, allocations: 88.2 kB / 20.19 MB, free: 4.359 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.0009942/0.0009942, allocations: 173 kB / 23.49 MB, free: 1.055 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.9953/0.9953, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8152/0.8152, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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 179] 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5205 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.786e-05, allocations: 6.953 kB / 0.5205 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.004158/0.004186, allocations: 3.923 MB / 0.5244 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.006448, allocations: 1.767 MB / 0.5261 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.006648, allocations: 11.94 kB / 0.5261 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008906/0.007539, allocations: 0.5 MB / 0.5266 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.00804, allocations: 236.8 kB / 0.5268 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.008487, allocations: 208.5 kB / 0.527 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.009008, allocations: 486.2 kB / 0.5275 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004977/0.009506, allocations: 294.8 kB / 0.5278 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.009813, allocations: 279.3 kB / 0.528 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.01021, allocations: 200.2 kB / 0.5282 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.01025, allocations: 31.94 kB / 0.5283 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.01057, allocations: 217.2 kB / 0.5285 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.01069, allocations: 143.6 kB / 0.5286 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.01082, allocations: 115.8 kB / 0.5287 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.01139, allocations: 406.6 kB / 0.5291 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.01139, allocations: 2.188 kB / 0.5291 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.0114, allocations: 0 / 0.5291 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.0114, allocations: 0 / 0.5291 GB, free: 9.535 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008325/0.01224, allocations: 0.6678 MB / 0.5298 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.01228, allocations: 8.969 kB / 0.5298 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006872/0.01297, allocations: 193.4 kB / 0.5299 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.01326, allocations: 238.4 kB / 0.5302 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.01328, allocations: 21.03 kB / 0.5302 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.01332, allocations: 32.98 kB / 0.5302 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.01373, allocations: 464.9 kB / 0.5307 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01375, allocations: 4.781 kB / 0.5307 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.01378, allocations: 16.36 kB / 0.5307 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.01383, allocations: 29.92 kB / 0.5307 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.01404, allocations: 146.1 kB / 0.5309 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01563, allocations: 1.907 MB / 0.5327 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.01587, allocations: 115.2 kB / 0.5328 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.01602, allocations: 75.62 kB / 0.5329 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.01603, allocations: 4.656 kB / 0.5329 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.01606, allocations: 37.33 kB / 0.5329 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.01606, allocations: 1.312 kB / 0.5329 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003919/0.01645, allocations: 166.8 kB / 0.5331 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.01648, allocations: 51.41 kB / 0.5332 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.01665, allocations: 274.6 kB / 0.5334 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.01666, allocations: 33.7 kB / 0.5334 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.01677, allocations: 258.9 kB / 0.5337 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.0168, allocations: 55.53 kB / 0.5337 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.01686, allocations: 51.56 kB / 0.5338 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.01698, allocations: 0.5067 MB / 0.5343 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.01702, allocations: 24.45 kB / 0.5343 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.01712, allocations: 149.7 kB / 0.5345 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.01729, allocations: 197.7 kB / 0.5346 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01729, allocations: 0 / 0.5346 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002569/0.01755, allocations: 217.1 kB / 0.5349 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.01757, allocations: 5.5 kB / 0.5349 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.01757, allocations: 4 kB / 0.5349 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.0178, allocations: 40.88 kB / 0.5349 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.01792, allocations: 49.05 kB / 0.5349 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008865/0.01881, allocations: 1.753 MB / 0.5367 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/0.0189, allocations: 16.78 kB / 0.5367 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.01891, allocations: 16 kB / 0.5367 GB, free: 1.242 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.836e-05/0.01901, allocations: 173.4 kB / 0.5369 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.01904, allocations: 23.75 kB / 0.5369 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.01907, allocations: 25.45 kB / 0.5369 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01907, allocations: 7.938 kB / 0.5369 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01907, allocations: 0 / 0.5369 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01908, allocations: 3.938 kB / 0.5369 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.0196, allocations: 0.5652 MB / 0.5375 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.0196, allocations: 7.031 kB / 0.5375 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.01965, allocations: 19.98 kB / 0.5375 GB, free: 356 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.01976, allocations: 35.66 kB / 0.5375 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01977, allocations: 4 kB / 0.5375 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008617/0.02063, allocations: 1.743 MB / 0.5392 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.02064, allocations: 4 kB / 0.5392 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.02086, allocations: 333.5 kB / 0.5396 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.0209, allocations: 47.33 kB / 0.5396 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.02092, allocations: 0 / 0.5396 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.021, allocations: 16 kB / 0.5396 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.02103, allocations: 15.97 kB / 0.5396 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.02104, allocations: 8 kB / 0.5396 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.775e-05/0.02114, allocations: 185.5 kB / 0.5398 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.02114, allocations: 0 / 0.5398 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002928/0.02143, allocations: 87.73 kB / 0.5399 GB, free: 13.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001154/0.02155, allocations: 105.1 kB / 0.54 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.0219, allocations: 284.1 kB / 0.5403 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.02191, allocations: 0 / 0.5403 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.02204, allocations: 223.5 kB / 0.5405 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.02236, allocations: 57.41 kB / 0.5405 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.02331, allocations: 0.5308 MB / 0.5411 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.02338, allocations: 108.3 kB / 0.5412 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.197e-05/0.02347, allocations: 34.61 kB / 0.5412 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.02352, allocations: 20.5 kB / 0.5412 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of SimCode: time 1.512e-06/0.02352, allocations: 4 kB / 0.5412 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.004886/0.02841, allocations: 2.465 MB / 0.5436 GB, free: 9.945 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8529626650270075]