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.001533/0.001533, allocations: 88.72 kB / 19.44 MB, free: 356 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.00176/0.00176, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.519/1.519, allocations: 177.2 MB / 203.1 MB, free: 5.598 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.247/1.247, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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.242e-06/1.242e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.878e-05, allocations: 4.141 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.006267/0.006296, allocations: 3.164 MB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.009333, allocations: 1.372 MB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.009532, allocations: 8.438 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.01073, allocations: 336.5 kB / 0.5244 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.01125, allocations: 165.3 kB / 0.5245 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.01175, allocations: 163.4 kB / 0.5247 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.01229, allocations: 340.4 kB / 0.525 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.01276, allocations: 200.1 kB / 0.5252 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.01318, allocations: 199.5 kB / 0.5254 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.01351, allocations: 133.1 kB / 0.5255 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.01355, allocations: 20 kB / 0.5255 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.01395, allocations: 171.4 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01408, allocations: 87.73 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.01423, allocations: 88.56 kB / 0.5258 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.01489, allocations: 370.8 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01489, allocations: 1.469 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01489, allocations: 0 / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.0149, allocations: 0 / 0.5262 GB, free: 11.79 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.001082/0.01598, allocations: 482.7 kB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01602, allocations: 8.031 kB / 0.5267 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/0.01687, allocations: 132.5 kB / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.01726, allocations: 202 kB / 0.527 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.01728, allocations: 12.88 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.01732, allocations: 28.36 kB / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/0.01824, allocations: 386.8 kB / 0.5274 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.01825, allocations: 0.75 kB / 0.5274 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.01829, allocations: 16.31 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.01833, allocations: 20.98 kB / 0.5274 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.01883, allocations: 214.6 kB / 0.5276 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.0205, allocations: 1.024 MB / 0.5286 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.02099, allocations: 122.6 kB / 0.5288 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.0211, allocations: 40.83 kB / 0.5288 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.02111, allocations: 10.69 kB / 0.5288 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.02115, allocations: 38.48 kB / 0.5288 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.02115, allocations: 0 / 0.5288 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0006061/0.02176, allocations: 182.4 kB / 0.529 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.02181, allocations: 52.38 kB / 0.5291 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.02207, allocations: 208.6 kB / 0.5293 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.0221, allocations: 25.7 kB / 0.5293 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.02226, allocations: 185 kB / 0.5295 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.02229, allocations: 27.73 kB / 0.5295 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/0.02238, allocations: 42.59 kB / 0.5295 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.02257, allocations: 322.8 kB / 0.5298 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.0227, allocations: 47.97 kB / 0.5299 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.02287, allocations: 107.4 kB / 0.53 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.02316, allocations: 168.2 kB / 0.5301 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.02316, allocations: 4 kB / 0.5302 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004782/0.02364, allocations: 221 kB / 0.5304 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.02366, allocations: 4 kB / 0.5304 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.02368, allocations: 11.86 kB / 0.5304 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.02394, allocations: 36.83 kB / 0.5304 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.02408, allocations: 27.98 kB / 0.5304 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.0255, allocations: 1.31 MB / 0.5317 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.02566, allocations: 19.83 kB / 0.5317 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.02568, allocations: 8 kB / 0.5317 GB, free: 5.727 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.0001657/0.02584, allocations: 141.8 kB / 0.5319 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.0259, allocations: 19.91 kB / 0.5319 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.02594, allocations: 28.83 kB / 0.5319 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.02594, allocations: 0 / 0.5319 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.02594, allocations: 3.938 kB / 0.5319 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.02594, allocations: 0 / 0.5319 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.02667, allocations: 410.8 kB / 0.5323 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02667, allocations: 0 / 0.5323 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.02674, allocations: 15.98 kB / 0.5323 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.02694, allocations: 40.36 kB / 0.5324 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.02695, allocations: 0 / 0.5324 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.0283, allocations: 1.293 MB / 0.5336 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.0283, allocations: 7.922 kB / 0.5336 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.02869, allocations: 225.9 kB / 0.5339 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.02876, allocations: 27.83 kB / 0.5339 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.02879, allocations: 7.938 kB / 0.5339 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.02892, allocations: 7.984 kB / 0.5339 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.02897, allocations: 8.641 kB / 0.5339 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.02898, allocations: 0.6562 kB / 0.5339 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001713/0.02915, allocations: 152.2 kB / 0.5341 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02915, allocations: 0.5625 kB / 0.5341 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003912/0.02954, allocations: 59.84 kB / 0.5341 GB, free: 3.145 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.000369/0.02991, allocations: 92.59 kB / 0.5342 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005694/0.03048, allocations: 236.3 kB / 0.5344 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.03048, allocations: 0.5312 kB / 0.5344 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.03079, allocations: 155.3 kB / 0.5346 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.03121, allocations: 37.59 kB / 0.5346 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.03203, allocations: 395.8 kB / 0.535 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.03221, allocations: 146.2 kB / 0.5351 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.03233, allocations: 28.94 kB / 0.5352 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.03238, allocations: 12.5 kB / 0.5352 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.03238, allocations: 0 / 0.5352 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of Templates: time 0.005996/0.03837, allocations: 1.872 MB / 0.537 GB, free: 256 kB / 0.4948 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9511428530095145]