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.0008976/0.0008976, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009827/0.0009827, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9552/0.9552, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7623/0.7623, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.814e-06/1.814e-06, allocations: 0 / 0.5203 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.554e-05, allocations: 5.109 kB / 0.5203 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003321/0.003347, allocations: 2.678 MB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004985, allocations: 1.068 MB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.005118, allocations: 7.938 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.005567, allocations: 92.72 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.005855, allocations: 153.8 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.00613, allocations: 135.6 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.006449, allocations: 342.7 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.006784, allocations: 207.9 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.007049, allocations: 196.1 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.007256, allocations: 136.6 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.007284, allocations: 20 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.007435, allocations: 99.72 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.007509, allocations: 89.36 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.007584, allocations: 91.75 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.007878, allocations: 251.1 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.00788, allocations: 0 / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.31e-07/0.007881, allocations: 0.9375 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.007886, allocations: 0 / 0.5257 GB, free: 12.56 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006185/0.008504, allocations: 0.5676 MB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.008546, allocations: 8.031 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.008995, allocations: 121.8 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.009227, allocations: 210.8 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.009243, allocations: 16.88 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.00927, allocations: 23.56 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.009599, allocations: 320.2 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.009615, allocations: 4.125 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.009636, allocations: 12.36 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.009676, allocations: 24.42 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.009827, allocations: 86.88 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01086, allocations: 1.273 MB / 0.5283 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.01113, allocations: 104.4 kB / 0.5284 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.01117, allocations: 23.69 kB / 0.5284 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01119, allocations: 3.938 kB / 0.5284 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.01122, allocations: 41.88 kB / 0.5285 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.01122, allocations: 2.031 kB / 0.5285 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003233/0.01154, allocations: 125.2 kB / 0.5286 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.01157, allocations: 51.41 kB / 0.5286 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.01174, allocations: 259.8 kB / 0.5289 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.01176, allocations: 25.7 kB / 0.5289 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.01185, allocations: 230.7 kB / 0.5291 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.01187, allocations: 31.73 kB / 0.5291 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.01192, allocations: 39.38 kB / 0.5292 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01204, allocations: 0.4923 MB / 0.5297 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.01208, allocations: 19.98 kB / 0.5297 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.01216, allocations: 125.2 kB / 0.5298 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.01229, allocations: 146.6 kB / 0.5299 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01229, allocations: 0 / 0.5299 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002085/0.0125, allocations: 168.2 kB / 0.5301 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01251, allocations: 4 kB / 0.5301 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01252, allocations: 4 kB / 0.5301 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.01273, allocations: 34.61 kB / 0.5301 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.0128, allocations: 31.92 kB / 0.5302 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008606/0.01366, allocations: 1.737 MB / 0.5319 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.01375, allocations: 19.84 kB / 0.5319 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.01376, allocations: 9.281 kB / 0.5319 GB, free: 5.746 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 (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 0.0001036/0.01387, allocations: 169.1 kB / 0.5321 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.01389, allocations: 19.91 kB / 0.5321 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.01391, allocations: 26.23 kB / 0.5321 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.01391, allocations: 0 / 0.5321 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01392, allocations: 1.25 kB / 0.5321 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01392, allocations: 3.984 kB / 0.5321 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.01427, allocations: 413 kB / 0.5325 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01427, allocations: 1.25 kB / 0.5325 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.0143, allocations: 11.98 kB / 0.5325 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.01441, allocations: 36.97 kB / 0.5325 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01441, allocations: 1.188 kB / 0.5325 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007776/0.01519, allocations: 1.734 MB / 0.5342 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01519, allocations: 3.938 kB / 0.5342 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.01537, allocations: 252 kB / 0.5345 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.01541, allocations: 21.02 kB / 0.5345 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.01542, allocations: 7.938 kB / 0.5345 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.01548, allocations: 8 kB / 0.5345 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.01551, allocations: 5.547 kB / 0.5345 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01552, allocations: 4 kB / 0.5345 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.875e-05/0.01561, allocations: 175.2 kB / 0.5347 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01561, allocations: 3.938 kB / 0.5347 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002346/0.01584, allocations: 61.39 kB / 0.5348 GB, free: 2.625 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 (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 7.665e-05/0.01592, allocations: 95.25 kB / 0.5349 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.01621, allocations: 260 kB / 0.5351 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01621, allocations: 0 / 0.5351 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.01633, allocations: 206.8 kB / 0.5353 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01657, allocations: 28.92 kB / 0.5353 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.01729, allocations: 378.7 kB / 0.5357 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01734, allocations: 89.44 kB / 0.5358 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.153e-05/0.0174, allocations: 29.48 kB / 0.5358 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.01744, allocations: 16.5 kB / 0.5358 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01744, allocations: 0 / 0.5358 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of Templates: time 0.003832/0.02127, allocations: 1.875 MB / 0.5376 GB, free: 15.7 MB / 0.5105 GB " [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.954826644156128]