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.001845/0.001845, allocations: 85.48 kB / 19.44 MB, free: 340 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.001995/0.001995, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.327/1.327, allocations: 154.8 MB / 414.3 MB, free: 460 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.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 2.364e-06/2.364e-06, allocations: 0 / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.748e-05/3.985e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.008721/0.008761, allocations: 3.882 MB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00445/0.01321, allocations: 1.768 MB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.0134, allocations: 7.938 kB / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.01533, allocations: 0.5033 MB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.01605, allocations: 224.2 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.01703, allocations: 217.6 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008239/0.01785, allocations: 494 kB / 0.5267 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.01856, allocations: 289.5 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.01908, allocations: 280.4 kB / 0.5273 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.01964, allocations: 199.5 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.73e-05/0.01972, allocations: 28.69 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008806/0.0206, allocations: 219.4 kB / 0.5277 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.02083, allocations: 144.8 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.02107, allocations: 119.7 kB / 0.528 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.02207, allocations: 0.514 MB / 0.5285 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.02208, allocations: 0 / 0.5285 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.02208, allocations: 1.094 kB / 0.5285 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.02209, allocations: 0 / 0.5285 GB, free: 9.48 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.001486/0.02357, allocations: 0.6868 MB / 0.5291 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.02362, allocations: 12.03 kB / 0.5292 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.02507, allocations: 200.3 kB / 0.5293 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.02566, allocations: 242.8 kB / 0.5296 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.0257, allocations: 21.03 kB / 0.5296 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.02577, allocations: 36.3 kB / 0.5296 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009821/0.02675, allocations: 496.9 kB / 0.5301 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.02677, allocations: 192 / 0.5301 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.02683, allocations: 12.38 kB / 0.5301 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.325e-05/0.02691, allocations: 30.08 kB / 0.5301 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.02743, allocations: 166.4 kB / 0.5303 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.03067, allocations: 1.981 MB / 0.5322 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.0311, allocations: 115.8 kB / 0.5323 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.03138, allocations: 77.81 kB / 0.5324 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.03141, allocations: 7.938 kB / 0.5324 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.03146, allocations: 45.33 kB / 0.5325 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.03146, allocations: 0 / 0.5325 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.000722/0.03218, allocations: 171.9 kB / 0.5326 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.03224, allocations: 51.41 kB / 0.5327 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.03268, allocations: 310.5 kB / 0.533 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.03273, allocations: 33.7 kB / 0.533 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.0332, allocations: 262.9 kB / 0.5333 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.03328, allocations: 61.58 kB / 0.5333 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.03342, allocations: 59.55 kB / 0.5334 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003714/0.03379, allocations: 0.504 MB / 0.5339 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.03391, allocations: 32.45 kB / 0.5339 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.03419, allocations: 165.8 kB / 0.5341 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.03461, allocations: 222.3 kB / 0.5343 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.03461, allocations: 0 / 0.5343 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006122/0.03522, allocations: 231.7 kB / 0.5345 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.03524, allocations: 7.984 kB / 0.5345 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.03525, allocations: 5.094 kB / 0.5345 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.03557, allocations: 36.98 kB / 0.5345 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.03584, allocations: 52.94 kB / 0.5346 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.03779, allocations: 1.765 MB / 0.5363 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.03801, allocations: 23.84 kB / 0.5363 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.03804, allocations: 8.812 kB / 0.5363 GB, free: 0.8828 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 0.0002416/0.03828, allocations: 182.9 kB / 0.5365 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.03836, allocations: 23.91 kB / 0.5365 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.03843, allocations: 25.45 kB / 0.5366 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.03843, allocations: 3.938 kB / 0.5366 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.03844, allocations: 0 / 0.5366 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.03844, allocations: 0 / 0.5366 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.0398, allocations: 0.6227 MB / 0.5372 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.0398, allocations: 0 / 0.5372 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.03993, allocations: 23.98 kB / 0.5372 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.04015, allocations: 50.38 kB / 0.5373 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.04016, allocations: 0 / 0.5373 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.04199, allocations: 1.753 MB / 0.539 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.042, allocations: 4.781 kB / 0.539 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.04254, allocations: 353.1 kB / 0.5393 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.04265, allocations: 35.77 kB / 0.5393 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.04269, allocations: 8 kB / 0.5393 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.04292, allocations: 13.45 kB / 0.5394 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.04297, allocations: 11.98 kB / 0.5394 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.04299, allocations: 8 kB / 0.5394 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002723/0.04326, allocations: 210.1 kB / 0.5396 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.04326, allocations: 0 / 0.5396 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006395/0.0439, allocations: 80.36 kB / 0.5397 GB, free: 13.24 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.0001687/0.04407, allocations: 112 kB / 0.5398 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008673/0.04494, allocations: 304.6 kB / 0.5401 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.04494, allocations: 3.938 kB / 0.5401 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.04529, allocations: 235.8 kB / 0.5403 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.04596, allocations: 56.42 kB / 0.5403 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.0472, allocations: 0.5261 MB / 0.5408 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.04751, allocations: 182.1 kB / 0.541 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.04767, allocations: 41.94 kB / 0.5411 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.04773, allocations: 16.5 kB / 0.5411 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/0.04773, allocations: 0 / 0.5411 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.009085/0.05682, allocations: 2.459 MB / 0.5435 GB, free: 9.375 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: 6.129145747050643]