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.001441/0.001441, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0014/0.0014, allocations: 181 kB / 23.36 MB, free: 1.133 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.9928/0.9928, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8584/0.8584, allocations: 154.6 MB / 414.8 MB, free: 488 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. " [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.432e-06/1.432e-06, allocations: 0 / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.517e-05, allocations: 5.578 kB / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.00357/0.003595, allocations: 2.675 MB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004969, allocations: 1.086 MB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.005084, allocations: 7.938 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.005512, allocations: 96.38 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.005747, allocations: 152.6 kB / 484 MB, free: 2.934 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.005986, allocations: 136.7 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.006316, allocations: 346.6 kB / 484.5 MB, free: 2.461 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.006624, allocations: 200.5 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.006936, allocations: 199.5 kB / 484.8 MB, free: 2.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.007192, allocations: 132.6 kB / 485 MB, free: 1.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.007225, allocations: 20 kB / 485 MB, free: 1.926 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.007404, allocations: 99.72 kB / 485.1 MB, free: 1.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.007504, allocations: 96.47 kB / 485.2 MB, free: 1.734 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.007588, allocations: 79.83 kB / 485.3 MB, free: 1.656 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.00795, allocations: 260.5 kB / 485.5 MB, free: 1.402 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007952, allocations: 4 kB / 485.5 MB, free: 1.398 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007953, allocations: 0 / 485.5 MB, free: 1.398 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007959, allocations: 0 / 485.5 MB, free: 1.398 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.0006342/0.008593, allocations: 448.7 kB / 486 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.008635, allocations: 8.781 kB / 486 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.009097, allocations: 110 kB / 486.1 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.009373, allocations: 191.5 kB / 486.3 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.009394, allocations: 16.81 kB / 486.3 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.009427, allocations: 25.23 kB / 486.3 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.00974, allocations: 295.1 kB / 486.6 MB, free: 248 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.00975, allocations: 192 / 486.6 MB, free: 248 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.009768, allocations: 13.22 kB / 486.6 MB, free: 236 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.009799, allocations: 24.38 kB / 486.6 MB, free: 212 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.772e-05/0.009897, allocations: 72.62 kB / 486.7 MB, free: 140 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.01073, allocations: 0.9093 MB / 487.6 MB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.01094, allocations: 86.78 kB / 487.7 MB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.01097, allocations: 12.86 kB / 487.7 MB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.01098, allocations: 1.781 kB / 487.7 MB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.01101, allocations: 46.44 kB / 487.8 MB, free: 15.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/0.01101, allocations: 0 / 487.8 MB, free: 15.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002405/0.01125, allocations: 102.2 kB / 487.8 MB, free: 14.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.01128, allocations: 51.41 kB / 487.9 MB, free: 14.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.01138, allocations: 197.2 kB / 488.1 MB, free: 14.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.0114, allocations: 25.7 kB / 488.1 MB, free: 14.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.01146, allocations: 180.9 kB / 488.3 MB, free: 14.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.01148, allocations: 27.75 kB / 488.3 MB, free: 14.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.01152, allocations: 43.98 kB / 488.4 MB, free: 14.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003519/0.01187, allocations: 326.8 kB / 488.7 MB, free: 14.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.0119, allocations: 15.98 kB / 488.7 MB, free: 14.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.01195, allocations: 72.56 kB / 488.8 MB, free: 13.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/0.01204, allocations: 122.7 kB / 488.9 MB, free: 13.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01204, allocations: 3.938 kB / 488.9 MB, free: 13.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001527/0.01219, allocations: 130.7 kB / 489 MB, free: 13.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01221, allocations: 8 kB / 489 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01221, allocations: 1.031 kB / 489 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.01235, allocations: 41.94 kB / 489.1 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.01242, allocations: 27.98 kB / 489.1 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005978/0.01302, allocations: 1.197 MB / 490.3 MB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.01309, allocations: 23.83 kB / 490.3 MB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01309, allocations: 5.062 kB / 490.3 MB, free: 12.22 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 7.27e-05/0.01317, allocations: 121.2 kB / 490.4 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.01319, allocations: 9.375 kB / 490.5 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.01321, allocations: 21.45 kB / 490.5 MB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.01321, allocations: 0 / 490.5 MB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01321, allocations: 3.938 kB / 490.5 MB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.01321, allocations: 0.9375 kB / 490.5 MB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.01346, allocations: 282.2 kB / 490.8 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01346, allocations: 1.219 kB / 490.8 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.01349, allocations: 15.92 kB / 490.8 MB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.593e-05/0.01359, allocations: 45.09 kB / 490.8 MB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.01359, allocations: 1.219 kB / 490.8 MB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000489/0.01408, allocations: 1.189 MB / 492 MB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01408, allocations: 0 / 492 MB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.0142, allocations: 181.9 kB / 492.2 MB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.01423, allocations: 20.66 kB / 492.2 MB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.01424, allocations: 0 / 492.2 MB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.01429, allocations: 8.875 kB / 492.2 MB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.01432, allocations: 7.984 kB / 492.2 MB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.01432, allocations: 0.6562 kB / 492.2 MB, free: 10.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.439e-05/0.01437, allocations: 60.53 kB / 492.3 MB, free: 10.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01437, allocations: 1.188 kB / 492.3 MB, free: 10.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.01455, allocations: 55.89 kB / 492.3 MB, free: 10.06 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.64e-05/0.01464, allocations: 85.86 kB / 492.4 MB, free: 9.969 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.01485, allocations: 190 kB / 492.6 MB, free: 9.773 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.01485, allocations: 0 / 492.6 MB, free: 9.773 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.01494, allocations: 139.5 kB / 492.7 MB, free: 9.621 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.01513, allocations: 33.84 kB / 492.8 MB, free: 9.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.01578, allocations: 403.3 kB / 493.2 MB, free: 9.168 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.223e-05/0.01583, allocations: 87.97 kB / 493.3 MB, free: 9.062 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.49e-05/0.01589, allocations: 18.23 kB / 493.3 MB, free: 9.051 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.01597, allocations: 79.94 kB / 493.3 MB, free: 8.973 MB / 458.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01598, allocations: 0.75 kB / 493.3 MB, free: 8.973 MB / 458.7 MB Notification: Performance of Templates: time 0.00456/0.02054, allocations: 1.973 MB / 495.3 MB, free: 7.137 MB / 458.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.6686330437660217]