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.001868/0.001868, allocations: 85.48 kB / 19.44 MB, free: 344 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.002057/0.002057, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.402/1.402, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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.904e-06/1.904e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.108e-05, allocations: 12.62 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.008094/0.008125, allocations: 3.266 MB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004352/0.01248, allocations: 1.429 MB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.01268, allocations: 13.22 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.01475, allocations: 348.4 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.01544, allocations: 156.8 kB / 0.5247 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.01624, allocations: 163.3 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.01702, allocations: 343.5 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.01771, allocations: 200.1 kB / 0.5253 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.01829, allocations: 200.9 kB / 0.5255 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.01881, allocations: 131.6 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.697e-05/0.01889, allocations: 20 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005758/0.01947, allocations: 168.8 kB / 0.5258 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.01966, allocations: 91.73 kB / 0.5259 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.01986, allocations: 83.83 kB / 0.526 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009484/0.02081, allocations: 374.8 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.02082, allocations: 1.719 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.02082, allocations: 4 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.02082, allocations: 0 / 0.5264 GB, free: 11.61 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.00158/0.0224, allocations: 0.5913 MB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.02246, allocations: 12.02 kB / 0.527 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.02368, allocations: 121.2 kB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.02422, allocations: 210.4 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.02426, allocations: 12.88 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.02433, allocations: 20.91 kB / 0.5273 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.02519, allocations: 335.7 kB / 0.5276 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.02521, allocations: 1.531 kB / 0.5276 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.02526, allocations: 12.38 kB / 0.5276 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-05/0.02533, allocations: 20.42 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.02585, allocations: 114.8 kB / 0.5278 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.02889, allocations: 1.322 MB / 0.5291 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.02955, allocations: 99.08 kB / 0.5292 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.02969, allocations: 31.67 kB / 0.5292 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.02971, allocations: 3.938 kB / 0.5292 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.02976, allocations: 37.39 kB / 0.5292 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.02976, allocations: 0 / 0.5292 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0008467/0.03061, allocations: 152.2 kB / 0.5294 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.03068, allocations: 55.39 kB / 0.5294 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.03119, allocations: 281.2 kB / 0.5297 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.03123, allocations: 29.7 kB / 0.5297 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.03152, allocations: 230.8 kB / 0.5299 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.03158, allocations: 33.23 kB / 0.53 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.03172, allocations: 39.38 kB / 0.53 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004512/0.03217, allocations: 0.504 MB / 0.5305 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.03232, allocations: 23.98 kB / 0.5305 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.03262, allocations: 135.5 kB / 0.5307 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.03311, allocations: 169.7 kB / 0.5308 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.03311, allocations: 0 / 0.5308 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006809/0.03379, allocations: 186.7 kB / 0.531 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.03382, allocations: 4 kB / 0.531 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.03383, allocations: 4 kB / 0.531 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/0.03424, allocations: 39.34 kB / 0.531 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.03447, allocations: 31.92 kB / 0.5311 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.03716, allocations: 1.757 MB / 0.5328 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.03741, allocations: 23.78 kB / 0.5328 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.03744, allocations: 8 kB / 0.5328 GB, free: 4.539 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.000266/0.03771, allocations: 172.5 kB / 0.533 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.0378, allocations: 17.31 kB / 0.533 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.03785, allocations: 25.39 kB / 0.533 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.03786, allocations: 4 kB / 0.533 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.03787, allocations: 1.281 kB / 0.533 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.03788, allocations: 0 / 0.533 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.03898, allocations: 453 kB / 0.5335 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.03898, allocations: 0.6562 kB / 0.5335 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.03909, allocations: 8 kB / 0.5335 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.0394, allocations: 37.78 kB / 0.5335 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.03941, allocations: 0.5312 kB / 0.5335 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.04169, allocations: 1.758 MB / 0.5352 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.04169, allocations: 3.938 kB / 0.5352 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.04227, allocations: 259.5 kB / 0.5355 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.04237, allocations: 19.89 kB / 0.5355 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.04242, allocations: 12.91 kB / 0.5355 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.04264, allocations: 4 kB / 0.5355 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.04271, allocations: 8.547 kB / 0.5355 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.04273, allocations: 0.5938 kB / 0.5355 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002877/0.04302, allocations: 195.2 kB / 0.5357 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.04302, allocations: 0.5938 kB / 0.5357 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006458/0.04366, allocations: 56.48 kB / 0.5358 GB, free: 1.34 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 0.0001932/0.04386, allocations: 97.12 kB / 0.5359 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.04463, allocations: 274.9 kB / 0.5361 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.04464, allocations: 0 / 0.5361 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.04508, allocations: 218.8 kB / 0.5363 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.04573, allocations: 33.97 kB / 0.5364 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.04687, allocations: 363.7 kB / 0.5367 GB, free: 304 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.04712, allocations: 142.5 kB / 0.5368 GB, free: 144 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.04729, allocations: 28.62 kB / 0.5369 GB, free: 116 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.04736, allocations: 17.53 kB / 0.5369 GB, free: 100 kB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.04736, allocations: 0 / 0.5369 GB, free: 100 kB / 0.4948 GB Notification: Performance of Templates: time 0.01016/0.05752, allocations: 1.873 MB / 0.5387 GB, free: 14.35 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: 6.271196967922151]