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.001191/0.001191, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002015/0.003206, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001145/0.001145, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002057/0.003202, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.973/0.973, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08876/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.842/0.842, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2988/1.141, allocations: 49.06 MB / 447.8 MB, free: 6.59 MB / 426.7 MB " [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.663e-06/1.663e-06, allocations: 0 / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.484e-05, allocations: 3.562 kB / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.007655/0.00768, allocations: 2.776 MB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.01276, allocations: 1.095 MB / 453 MB, free: 1.492 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.01294, allocations: 9.219 kB / 453 MB, free: 1.484 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.01343, allocations: 122.6 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.01378, allocations: 174.6 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.01413, allocations: 128.2 kB / 453.4 MB, free: 1.078 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.01458, allocations: 384.2 kB / 453.8 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.01488, allocations: 182.8 kB / 454 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.0183, allocations: 227.9 kB / 454.2 MB, free: 304 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.01867, allocations: 152.6 kB / 454.3 MB, free: 152 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.01871, allocations: 20.66 kB / 454.4 MB, free: 132 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.01896, allocations: 91.73 kB / 454.5 MB, free: 40 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.01908, allocations: 77.31 kB / 454.5 MB, free: 15.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.01917, allocations: 75.69 kB / 454.6 MB, free: 15.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.0196, allocations: 231.2 kB / 454.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.958e-05/0.01962, allocations: 0.625 kB / 454.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.01963, allocations: 4 kB / 454.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.01965, allocations: 0.9062 kB / 454.8 MB, free: 15.66 MB / 442.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.0008457/0.02049, allocations: 0.4888 MB / 455.3 MB, free: 15.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.02053, allocations: 8.031 kB / 455.3 MB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.02282, allocations: 197.8 kB / 455.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.02312, allocations: 188.6 kB / 455.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.02314, allocations: 20.86 kB / 455.7 MB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.02318, allocations: 20.38 kB / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.02356, allocations: 295 kB / 456 MB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.02357, allocations: 0.8438 kB / 456 MB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.0236, allocations: 12.98 kB / 456.1 MB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.02365, allocations: 25.05 kB / 456.1 MB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.02379, allocations: 64.03 kB / 456.1 MB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.02487, allocations: 0.918 MB / 457.1 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.02515, allocations: 93.42 kB / 457.2 MB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.02519, allocations: 16.84 kB / 457.2 MB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.02521, allocations: 8.797 kB / 457.2 MB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.02523, allocations: 34.5 kB / 457.2 MB, free: 13.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.02524, allocations: 1 kB / 457.2 MB, free: 13.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003085/0.02554, allocations: 102 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.02557, allocations: 55.41 kB / 457.4 MB, free: 12.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.02572, allocations: 189.6 kB / 457.6 MB, free: 12.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.02574, allocations: 29.7 kB / 457.6 MB, free: 12.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.02582, allocations: 172.1 kB / 457.7 MB, free: 12.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.02585, allocations: 32.23 kB / 457.8 MB, free: 12.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.02591, allocations: 42.77 kB / 457.8 MB, free: 12.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.02601, allocations: 326.8 kB / 458.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/0.02604, allocations: 12 kB / 458.2 MB, free: 12.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.02611, allocations: 85.16 kB / 458.2 MB, free: 12.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.02624, allocations: 123.4 kB / 458.4 MB, free: 11.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.02624, allocations: 3.938 kB / 458.4 MB, free: 11.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002179/0.02646, allocations: 130.7 kB / 458.5 MB, free: 11.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.02648, allocations: 8 kB / 458.5 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.02648, allocations: 1.031 kB / 458.5 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.02666, allocations: 37.28 kB / 458.5 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.02678, allocations: 35.92 kB / 458.6 MB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.02759, allocations: 1.2 MB / 459.8 MB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.0277, allocations: 11.89 kB / 459.8 MB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.02772, allocations: 12.75 kB / 459.8 MB, free: 10.32 MB / 442.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 9.488e-05/0.02781, allocations: 129.2 kB / 459.9 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.02785, allocations: 12.92 kB / 459.9 MB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.02788, allocations: 17.47 kB / 459.9 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.02788, allocations: 0 / 459.9 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.02789, allocations: 4.75 kB / 460 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02789, allocations: 0 / 460 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.02824, allocations: 274.9 kB / 460.2 MB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.02825, allocations: 1.75 kB / 460.2 MB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.0283, allocations: 15.98 kB / 460.2 MB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.02834, allocations: 15.84 kB / 460.3 MB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.02847, allocations: 33.16 kB / 460.3 MB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.02848, allocations: 4 kB / 460.3 MB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007417/0.02922, allocations: 1.196 MB / 461.5 MB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.02922, allocations: 0 / 461.5 MB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.02939, allocations: 179.8 kB / 461.7 MB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.0294, allocations: 0 / 461.7 MB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.0295, allocations: 7.984 kB / 461.7 MB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.02954, allocations: 11.97 kB / 461.7 MB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.02955, allocations: 4.609 kB / 461.7 MB, free: 8.273 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.02961, allocations: 53.31 kB / 461.7 MB, free: 8.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02961, allocations: 0 / 461.7 MB, free: 8.223 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003162/0.02993, allocations: 64.45 kB / 461.8 MB, free: 8.16 MB / 442.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 0.0001126/0.03004, allocations: 85.66 kB / 461.9 MB, free: 8.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.03033, allocations: 183.5 kB / 462.1 MB, free: 7.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.03034, allocations: 8 kB / 462.1 MB, free: 7.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.03049, allocations: 148.1 kB / 462.2 MB, free: 7.715 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.03091, allocations: 271.8 kB / 462.5 MB, free: 7.402 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.03375, allocations: 403.5 kB / 462.9 MB, free: 6.984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.03383, allocations: 91.95 kB / 463 MB, free: 6.875 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.518e-05/0.03391, allocations: 19.31 kB / 463 MB, free: 6.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.03403, allocations: 83.3 kB / 463.1 MB, free: 6.781 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03403, allocations: 0 / 463.1 MB, free: 6.781 MB / 442.7 MB Notification: Performance of Templates: time 0.005387/0.03942, allocations: 2.038 MB / 465.1 MB, free: 4.887 MB / 442.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.726371668279171]