Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.001046/0.001046, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001112/0.001112, allocations: 173 kB / 23.49 MB, free: 1.059 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.9551/0.9551, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.8138/0.8138, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5203 GB, free: 1.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.655e-05, allocations: 2.312 kB / 0.5203 GB, free: 1.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003546/0.003563, allocations: 3.301 MB / 0.5235 GB, free: 14.13 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.005454, allocations: 1.437 MB / 0.5249 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.005587, allocations: 7.938 kB / 0.5249 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.006322, allocations: 344.9 kB / 0.5253 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.006608, allocations: 158.6 kB / 0.5254 GB, free: 12.2 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.006884, allocations: 163.3 kB / 0.5256 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000343/0.007227, allocations: 342.7 kB / 0.5259 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.007868, allocations: 192.1 kB / 0.5261 GB, free: 11.51 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.008125, allocations: 203.4 kB / 0.5263 GB, free: 11.31 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.008373, allocations: 140.2 kB / 0.5264 GB, free: 11.17 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.008407, allocations: 16.56 kB / 0.5264 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.008646, allocations: 163.5 kB / 0.5266 GB, free: 11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.008739, allocations: 96.28 kB / 0.5267 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.078e-05/0.00883, allocations: 88.73 kB / 0.5268 GB, free: 10.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.009184, allocations: 283 kB / 0.527 GB, free: 10.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.009188, allocations: 3.984 kB / 0.527 GB, free: 10.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.009189, allocations: 1.469 kB / 0.527 GB, free: 10.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.009194, allocations: 0 / 0.527 GB, free: 10.54 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006742/0.009868, allocations: 0.5746 MB / 0.5276 GB, free: 9.926 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.009903, allocations: 8.031 kB / 0.5276 GB, free: 9.918 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.0105, allocations: 127.2 kB / 0.5277 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.01075, allocations: 209.4 kB / 0.5279 GB, free: 9.562 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.01077, allocations: 17.53 kB / 0.528 GB, free: 9.547 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.0108, allocations: 20.38 kB / 0.528 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.01116, allocations: 317.1 kB / 0.5283 GB, free: 9.168 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01117, allocations: 192 / 0.5283 GB, free: 9.168 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.0112, allocations: 13.8 kB / 0.5283 GB, free: 9.156 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.01124, allocations: 28.38 kB / 0.5283 GB, free: 9.129 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.01142, allocations: 88.75 kB / 0.5284 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.01246, allocations: 1.269 MB / 0.5296 GB, free: 7.707 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.01273, allocations: 95.09 kB / 0.5297 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.01277, allocations: 23.67 kB / 0.5298 GB, free: 7.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.01279, allocations: 13.66 kB / 0.5298 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01281, allocations: 33.39 kB / 0.5298 GB, free: 7.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.01281, allocations: 0 / 0.5298 GB, free: 7.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003392/0.01315, allocations: 134.2 kB / 0.5299 GB, free: 7.379 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.01317, allocations: 55.34 kB / 0.53 GB, free: 7.312 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01334, allocations: 258.2 kB / 0.5302 GB, free: 7.047 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.01336, allocations: 25.7 kB / 0.5302 GB, free: 7.016 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01346, allocations: 223.5 kB / 0.5305 GB, free: 6.793 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.01348, allocations: 27.78 kB / 0.5305 GB, free: 6.766 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.01354, allocations: 47.88 kB / 0.5305 GB, free: 6.711 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01367, allocations: 0.4991 MB / 0.531 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.01371, allocations: 15.98 kB / 0.531 GB, free: 6.188 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.0138, allocations: 112 kB / 0.5311 GB, free: 6.039 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.01394, allocations: 151.7 kB / 0.5313 GB, free: 5.852 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01394, allocations: 0 / 0.5313 GB, free: 5.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002427/0.01419, allocations: 170.8 kB / 0.5315 GB, free: 5.676 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.0142, allocations: 4 kB / 0.5315 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01421, allocations: 4 kB / 0.5315 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.01439, allocations: 34.06 kB / 0.5315 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.01448, allocations: 35.92 kB / 0.5315 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.0156, allocations: 1.737 MB / 0.5332 GB, free: 3.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.01569, allocations: 17.39 kB / 0.5332 GB, free: 3.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.0157, allocations: 11.98 kB / 0.5332 GB, free: 3.707 MB / 458.7 MB 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 (18): * Single equations (assignments): 17 * 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.599e-05/0.01579, allocations: 161.7 kB / 0.5334 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.01582, allocations: 19.91 kB / 0.5334 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.01585, allocations: 25.34 kB / 0.5334 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01585, allocations: 5.062 kB / 0.5335 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01585, allocations: 0 / 0.5335 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01585, allocations: 3.984 kB / 0.5335 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.01624, allocations: 414 kB / 0.5339 GB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01624, allocations: 0 / 0.5339 GB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.01628, allocations: 16.78 kB / 0.5339 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.01639, allocations: 35.59 kB / 0.5339 GB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.0164, allocations: 3.984 kB / 0.5339 GB, free: 2.984 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007341/0.01714, allocations: 1.739 MB / 0.5356 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01714, allocations: 3.938 kB / 0.5356 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.01731, allocations: 247.5 kB / 0.5358 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.01735, allocations: 15.91 kB / 0.5359 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.01736, allocations: 7.938 kB / 0.5359 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.01745, allocations: 7.984 kB / 0.5359 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.01748, allocations: 15.86 kB / 0.5359 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01749, allocations: 4 kB / 0.5359 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.01758, allocations: 175.2 kB / 0.5361 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01758, allocations: 0 / 0.5361 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.01788, allocations: 58.52 kB / 0.5361 GB, free: 0.582 MB / 458.7 MB 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 (7): * Single equations (assignments): 6 * 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 8.971e-05/0.01797, allocations: 99.25 kB / 0.5362 GB, free: 484 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.01826, allocations: 243.9 kB / 0.5364 GB, free: 224 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01826, allocations: 0 / 0.5364 GB, free: 224 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.0184, allocations: 205.6 kB / 0.5366 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.01872, allocations: 34.69 kB / 0.5367 GB, free: 15.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007908/0.01951, allocations: 388.2 kB / 0.537 GB, free: 15.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.268e-05/0.01957, allocations: 91.95 kB / 0.5371 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.724e-05/0.01965, allocations: 28.62 kB / 0.5372 GB, free: 15.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.01968, allocations: 16.5 kB / 0.5372 GB, free: 15.41 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01968, allocations: 0 / 0.5372 GB, free: 15.41 MB / 474.7 MB Notification: Performance of Templates: time 0.004333/0.02402, allocations: 1.87 MB / 0.539 GB, free: 13.66 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.743808182887733]