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.001041/0.001041, allocations: 100.4 kB / 19.7 MB, free: 452 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.0008282/0.0008282, allocations: 212.2 kB / 23 MB, free: 2.977 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.8533/0.8533, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7584/0.7584, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.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: 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.0007823/0.0007823, allocations: 70.19 kB / 0.719 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4653, allocations: 102 MB / 0.8186 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003266/0.4686, allocations: 3.192 MB / 0.8217 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.4701, allocations: 1.401 MB / 0.8231 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.4702, allocations: 12.06 kB / 0.8231 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006636/0.4709, allocations: 326.1 kB / 0.8234 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.4711, allocations: 150.9 kB / 0.8235 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.4714, allocations: 165.4 kB / 0.8237 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.4717, allocations: 334.3 kB / 0.824 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.472, allocations: 197.7 kB / 0.8242 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.4722, allocations: 146.6 kB / 0.8243 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.4724, allocations: 152.7 kB / 0.8245 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.4725, allocations: 19.47 kB / 0.8245 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.4727, allocations: 153.8 kB / 0.8246 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.4727, allocations: 84.34 kB / 0.8247 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.4728, allocations: 109.4 kB / 0.8248 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.4732, allocations: 365.8 kB / 0.8252 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4732, allocations: 1.062 kB / 0.8252 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4732, allocations: 0 / 0.8252 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4732, allocations: 0 / 0.8252 GB, free: 13.58 MB / 0.6198 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.0006114/0.4738, allocations: 483.9 kB / 0.8256 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4739, allocations: 9.234 kB / 0.8257 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.4742, allocations: 97.17 kB / 0.8257 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.4745, allocations: 209.4 kB / 0.8259 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4745, allocations: 12.25 kB / 0.826 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.4745, allocations: 22.38 kB / 0.826 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.4749, allocations: 398.6 kB / 0.8264 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4749, allocations: 0 / 0.8264 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4749, allocations: 10.94 kB / 0.8264 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.4749, allocations: 21.55 kB / 0.8264 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.4752, allocations: 211.1 kB / 0.8266 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.4761, allocations: 1.014 MB / 0.8276 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.4764, allocations: 125.1 kB / 0.8277 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.4764, allocations: 41.67 kB / 0.8277 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.4764, allocations: 1.719 kB / 0.8277 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.4765, allocations: 33.08 kB / 0.8278 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.033e-06/0.4765, allocations: 0 / 0.8278 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003631/0.4768, allocations: 187.5 kB / 0.8279 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.4769, allocations: 54.53 kB / 0.828 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.477, allocations: 194.7 kB / 0.8282 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.477, allocations: 27.23 kB / 0.8282 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.4771, allocations: 185 kB / 0.8284 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4771, allocations: 31.88 kB / 0.8284 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.4772, allocations: 40.8 kB / 0.8285 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.4773, allocations: 326.9 kB / 0.8288 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.4773, allocations: 47.52 kB / 0.8288 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.4774, allocations: 115 kB / 0.8289 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4776, allocations: 169.8 kB / 0.8291 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4776, allocations: 0 / 0.8291 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002539/0.4778, allocations: 216.5 kB / 0.8293 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4778, allocations: 6.859 kB / 0.8293 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4779, allocations: 2.281 kB / 0.8293 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.478, allocations: 31.47 kB / 0.8293 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.4781, allocations: 41.25 kB / 0.8294 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007123/0.4788, allocations: 1.295 MB / 0.8306 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.4788, allocations: 23.69 kB / 0.8307 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4789, allocations: 6.938 kB / 0.8307 GB, free: 9.195 MB / 0.6198 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 9.321e-05/0.479, allocations: 148.3 kB / 0.8308 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.479, allocations: 23.81 kB / 0.8308 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.479, allocations: 19.02 kB / 0.8308 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.479, allocations: 1.797 kB / 0.8308 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.479, allocations: 5.5 kB / 0.8309 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.479, allocations: 0.6094 kB / 0.8309 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.4794, allocations: 402.4 kB / 0.8312 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4794, allocations: 0.6094 kB / 0.8312 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.4794, allocations: 14.64 kB / 0.8313 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.337e-05/0.4795, allocations: 28.55 kB / 0.8313 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4795, allocations: 5.75 kB / 0.8313 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005727/0.48, allocations: 1.295 MB / 0.8326 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.48, allocations: 0.6562 kB / 0.8326 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.4802, allocations: 234.3 kB / 0.8328 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.4803, allocations: 30.16 kB / 0.8328 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.4803, allocations: 2.125 kB / 0.8328 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.4803, allocations: 5.469 kB / 0.8328 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.4804, allocations: 10.89 kB / 0.8328 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.4804, allocations: 1.25 kB / 0.8328 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.438e-05/0.4805, allocations: 143.2 kB / 0.833 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4805, allocations: 3.938 kB / 0.833 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002318/0.4807, allocations: 60.02 kB / 0.833 GB, free: 7.141 MB / 0.6198 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 7.959e-05/0.4808, allocations: 101.9 kB / 0.8331 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.4811, allocations: 231.5 kB / 0.8333 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4811, allocations: 0.5938 kB / 0.8333 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4812, allocations: 154.3 kB / 0.8335 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4815, allocations: 39.84 kB / 0.8335 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.4821, allocations: 435.7 kB / 0.8339 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4822, allocations: 149.3 kB / 0.8341 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.4822, allocations: 16.14 kB / 0.8341 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.4822, allocations: 3.938 kB / 0.8341 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of Templates: time 0.004139/0.4864, allocations: 3.294 MB / 0.8373 GB, free: 6.039 MB / 0.6198 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.995741785038263] Failed to read output from testmodel.py, exit status != 0: 0.4911695821210742 0.49924232199999996 0.024358803000000002 Calling exit ...