Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001078/0.001078, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001114/0.001114, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.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-545:108: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-545:116: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.8092/0.8092, allocations: 154.6 MB / 415.6 MB, free: 0.5195 MB / 378.7 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 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5215 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.455e-05, allocations: 6.312 kB / 0.5215 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003518/0.003553, allocations: 2.93 MB / 0.5244 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.005256, allocations: 1.12 MB / 0.5255 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.005396, allocations: 7.938 kB / 0.5255 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.005861, allocations: 116.7 kB / 0.5256 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.006199, allocations: 199.9 kB / 0.5258 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.006486, allocations: 153 kB / 0.5259 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004304/0.006916, allocations: 498.9 kB / 0.5264 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.007279, allocations: 293.4 kB / 0.5267 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.007519, allocations: 276.6 kB / 0.5269 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.007806, allocations: 199.5 kB / 0.5271 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.007841, allocations: 28.75 kB / 0.5271 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.008015, allocations: 95.73 kB / 0.5272 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.008132, allocations: 140.2 kB / 0.5274 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.008238, allocations: 127.7 kB / 0.5275 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.008592, allocations: 323.7 kB / 0.5278 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008594, allocations: 0 / 0.5278 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.008595, allocations: 0.9375 kB / 0.5278 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.008601, allocations: 0 / 0.5278 GB, free: 11.54 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.0006706/0.009271, allocations: 0.6505 MB / 0.5284 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.009301, allocations: 8.031 kB / 0.5284 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.00982, allocations: 173.8 kB / 0.5286 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.01007, allocations: 229.8 kB / 0.5288 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.01009, allocations: 32.95 kB / 0.5289 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.01012, allocations: 33.19 kB / 0.5289 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.01044, allocations: 436.9 kB / 0.5293 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01046, allocations: 1.125 kB / 0.5293 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01048, allocations: 16.36 kB / 0.5293 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.01051, allocations: 36.58 kB / 0.5294 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.01064, allocations: 107.1 kB / 0.5295 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01181, allocations: 1.86 MB / 0.5313 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.012, allocations: 108.5 kB / 0.5314 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.0121, allocations: 67.59 kB / 0.5314 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.01211, allocations: 4 kB / 0.5315 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01213, allocations: 34.05 kB / 0.5315 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.01213, allocations: 3.438 kB / 0.5315 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002854/0.01242, allocations: 156.4 kB / 0.5316 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.01244, allocations: 55.34 kB / 0.5317 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01258, allocations: 270.5 kB / 0.5319 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.01259, allocations: 25.7 kB / 0.532 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.466e-05/0.01268, allocations: 262.9 kB / 0.5322 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.01271, allocations: 59.52 kB / 0.5323 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.01277, allocations: 58.03 kB / 0.5323 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01288, allocations: 0.504 MB / 0.5328 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.01291, allocations: 24.39 kB / 0.5329 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.01299, allocations: 140.8 kB / 0.533 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.01311, allocations: 182.8 kB / 0.5332 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01311, allocations: 2.438 kB / 0.5332 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002015/0.01331, allocations: 204.1 kB / 0.5334 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.01332, allocations: 8 kB / 0.5334 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01333, allocations: 4 kB / 0.5334 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.01347, allocations: 33.45 kB / 0.5334 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.744e-05/0.01356, allocations: 52.81 kB / 0.5335 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006794/0.01424, allocations: 1.711 MB / 0.5351 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.01433, allocations: 27.78 kB / 0.5351 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01434, allocations: 15.98 kB / 0.5352 GB, free: 3.492 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 8.892e-05/0.01443, allocations: 174.4 kB / 0.5353 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.01446, allocations: 23.91 kB / 0.5354 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.01448, allocations: 25.45 kB / 0.5354 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01448, allocations: 4.625 kB / 0.5354 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01449, allocations: 0 / 0.5354 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01449, allocations: 4.594 kB / 0.5354 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.01495, allocations: 0.5627 MB / 0.5359 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01495, allocations: 5.125 kB / 0.5359 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.015, allocations: 23.98 kB / 0.536 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.093e-05/0.01509, allocations: 41.72 kB / 0.536 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.0151, allocations: 0 / 0.536 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006285/0.01572, allocations: 1.724 MB / 0.5377 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01573, allocations: 4 kB / 0.5377 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.01593, allocations: 329.6 kB / 0.538 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.01597, allocations: 32.66 kB / 0.538 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.01598, allocations: 8 kB / 0.538 GB, free: 308 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.01606, allocations: 12.75 kB / 0.5381 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.01608, allocations: 15.97 kB / 0.5381 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01609, allocations: 9.844 kB / 0.5381 GB, free: 272 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.306e-05/0.01616, allocations: 181.5 kB / 0.5383 GB, free: 92 kB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01616, allocations: 0 / 0.5383 GB, free: 92 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002381/0.0164, allocations: 83.73 kB / 0.5383 GB, free: 8 kB / 0.4948 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 9.095e-05/0.01649, allocations: 112.1 kB / 0.5384 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.01674, allocations: 275.1 kB / 0.5387 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01674, allocations: 0 / 0.5387 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.01685, allocations: 227.9 kB / 0.5389 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01713, allocations: 54.77 kB / 0.539 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.01784, allocations: 0.527 MB / 0.5395 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.802e-05/0.01791, allocations: 114.8 kB / 0.5396 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.49e-05/0.01797, allocations: 16.64 kB / 0.5396 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.01808, allocations: 118.2 kB / 0.5397 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.01808, allocations: 0 / 0.5397 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.004283/0.02236, allocations: 2.668 MB / 0.5423 GB, free: 11.98 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8258297126740217]