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.001184/0.001184, allocations: 76.45 kB / 19.9 MB, free: 12 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.001204/0.001204, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9806/0.9806, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-531:686: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-531:694: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.7494/0.7494, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009834/0.0009834, allocations: 67.91 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.4745/0.4755, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003374/0.4789, allocations: 3.172 MB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.4804, allocations: 1.388 MB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.4806, allocations: 13.41 kB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.4814, allocations: 330.3 kB / 0.7238 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.4817, allocations: 154.2 kB / 0.724 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.4822, allocations: 168.2 kB / 0.7242 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.4826, allocations: 339.6 kB / 0.7245 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.483, allocations: 201 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.4833, allocations: 203.4 kB / 0.7249 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.4836, allocations: 147.3 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.4836, allocations: 19.41 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.4839, allocations: 159.2 kB / 0.7252 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.484, allocations: 87.12 kB / 0.7253 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.4841, allocations: 101.6 kB / 0.7254 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.4846, allocations: 372.2 kB / 0.7257 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4846, allocations: 0 / 0.7257 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4846, allocations: 1.188 kB / 0.7257 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4846, allocations: 0 / 0.7257 GB, free: 19.65 MB / 0.6355 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.0007471/0.4853, allocations: 487 kB / 0.7262 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4854, allocations: 10.56 kB / 0.7262 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.4858, allocations: 96.48 kB / 0.7263 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.4861, allocations: 205.4 kB / 0.7265 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4861, allocations: 17.19 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4861, allocations: 16.44 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.4865, allocations: 396 kB / 0.7269 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4865, allocations: 5.406 kB / 0.7269 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4866, allocations: 9.312 kB / 0.7269 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.4866, allocations: 21.3 kB / 0.7269 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.4869, allocations: 211 kB / 0.7271 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.4878, allocations: 1.011 MB / 0.7281 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.4881, allocations: 125.1 kB / 0.7282 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.4881, allocations: 46.08 kB / 0.7283 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4881, allocations: 1.312 kB / 0.7283 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.4882, allocations: 32.42 kB / 0.7283 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.4882, allocations: 0.9688 kB / 0.7283 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003645/0.4885, allocations: 187.7 kB / 0.7285 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.4885, allocations: 54.16 kB / 0.7285 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4887, allocations: 204.1 kB / 0.7287 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.4887, allocations: 27.36 kB / 0.7288 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.4887, allocations: 177.8 kB / 0.7289 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.4888, allocations: 34.39 kB / 0.729 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.4888, allocations: 41.58 kB / 0.729 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.239e-05/0.4888, allocations: 326.9 kB / 0.7293 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.4889, allocations: 47.44 kB / 0.7293 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.489, allocations: 107 kB / 0.7295 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4892, allocations: 166.4 kB / 0.7296 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4892, allocations: 64 / 0.7296 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002348/0.4894, allocations: 215.7 kB / 0.7298 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.4894, allocations: 13.48 kB / 0.7298 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4894, allocations: 6.281 kB / 0.7298 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.4895, allocations: 26.95 kB / 0.7299 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.4896, allocations: 29.94 kB / 0.7299 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005262/0.4901, allocations: 1.302 MB / 0.7312 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.4902, allocations: 26.73 kB / 0.7312 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4902, allocations: 7.391 kB / 0.7312 GB, free: 15.27 MB / 0.6355 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 7.642e-05/0.4903, allocations: 153.1 kB / 0.7313 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.4903, allocations: 23.92 kB / 0.7314 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.4903, allocations: 19.48 kB / 0.7314 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4903, allocations: 1.125 kB / 0.7314 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4903, allocations: 1.719 kB / 0.7314 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4903, allocations: 0.5625 kB / 0.7314 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.4907, allocations: 402.1 kB / 0.7318 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4907, allocations: 1.062 kB / 0.7318 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.4907, allocations: 15.72 kB / 0.7318 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.713e-05/0.4908, allocations: 23.62 kB / 0.7318 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.4908, allocations: 5.688 kB / 0.7318 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000423/0.4912, allocations: 1.296 MB / 0.7331 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4912, allocations: 0 / 0.7331 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4914, allocations: 233.9 kB / 0.7333 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.4914, allocations: 30.5 kB / 0.7333 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.4914, allocations: 5.781 kB / 0.7333 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.4915, allocations: 9.312 kB / 0.7333 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.4915, allocations: 11.16 kB / 0.7334 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.4915, allocations: 1.531 kB / 0.7334 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.4916, allocations: 142.7 kB / 0.7335 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4916, allocations: 0 / 0.7335 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002084/0.4918, allocations: 55.55 kB / 0.7335 GB, free: 13.22 MB / 0.6355 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 6.639e-05/0.4919, allocations: 103.8 kB / 0.7336 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.4921, allocations: 230.8 kB / 0.7339 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.4921, allocations: 0 / 0.7339 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.141e-05/0.4922, allocations: 157.3 kB / 0.734 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.4925, allocations: 38.12 kB / 0.7341 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.4929, allocations: 402.3 kB / 0.7344 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.881e-05/0.493, allocations: 148.2 kB / 0.7346 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.4931, allocations: 30.77 kB / 0.7346 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.4931, allocations: 15.56 kB / 0.7346 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.4931, allocations: 4 kB / 0.7346 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.003608/0.4967, allocations: 1.864 MB / 0.7364 GB, free: 12.25 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.318426460959017] Failed to read output from testmodel.py, exit status != 0: 0.5022843308979645 0.510239505 0.023929898 Calling exit ...