Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001329/0.001329, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00148/0.00148, allocations: 163.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.179/1.179, allocations: 154.6 MB / 413.7 MB, free: 5.32 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6185 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.846e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.005311/0.00534, allocations: 3.162 MB / 0.6216 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.007944, allocations: 1.371 MB / 0.6229 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.00808, allocations: 7.938 kB / 0.6229 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.009245, allocations: 341.8 kB / 0.6233 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.009647, allocations: 159 kB / 0.6234 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.01014, allocations: 163.4 kB / 0.6236 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.0106, allocations: 350.6 kB / 0.6239 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.01104, allocations: 200 kB / 0.6241 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.01143, allocations: 203.5 kB / 0.6243 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.01173, allocations: 131.6 kB / 0.6244 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.01177, allocations: 20 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.01209, allocations: 155.6 kB / 0.6246 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.0122, allocations: 95.72 kB / 0.6247 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.01233, allocations: 83.81 kB / 0.6247 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.0129, allocations: 374.8 kB / 0.6251 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.0129, allocations: 4 kB / 0.6251 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.01291, allocations: 0 / 0.6251 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.01292, allocations: 0 / 0.6251 GB, free: 13.91 MB / 0.545 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.001083/0.014, allocations: 485.4 kB / 0.6256 GB, free: 13.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.01404, allocations: 9.469 kB / 0.6256 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.01474, allocations: 92.67 kB / 0.6257 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.01509, allocations: 202.7 kB / 0.6259 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.01511, allocations: 20.86 kB / 0.6259 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.01515, allocations: 24.36 kB / 0.6259 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.01571, allocations: 386.8 kB / 0.6263 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.01573, allocations: 4.125 kB / 0.6263 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.01576, allocations: 12.38 kB / 0.6263 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.0158, allocations: 20.42 kB / 0.6263 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.01617, allocations: 209.8 kB / 0.6265 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.01761, allocations: 1.015 MB / 0.6275 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.01805, allocations: 118.5 kB / 0.6276 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.01815, allocations: 40.83 kB / 0.6277 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.01817, allocations: 7.938 kB / 0.6277 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.0182, allocations: 34.56 kB / 0.6277 GB, free: 11.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.0182, allocations: 0 / 0.6277 GB, free: 11.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.01875, allocations: 182.4 kB / 0.6279 GB, free: 10.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.01879, allocations: 59.34 kB / 0.6279 GB, free: 10.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.01901, allocations: 200.9 kB / 0.6281 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.01903, allocations: 25.7 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.01917, allocations: 184 kB / 0.6283 GB, free: 10.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.01919, allocations: 27.75 kB / 0.6283 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.01926, allocations: 45.66 kB / 0.6284 GB, free: 10.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.01942, allocations: 326.8 kB / 0.6287 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.01953, allocations: 47.91 kB / 0.6287 GB, free: 9.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.0197, allocations: 108.5 kB / 0.6288 GB, free: 9.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.01996, allocations: 172.3 kB / 0.629 GB, free: 9.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01996, allocations: 0 / 0.629 GB, free: 9.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000394/0.02035, allocations: 210.1 kB / 0.6292 GB, free: 9.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.02037, allocations: 12.22 kB / 0.6292 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.02038, allocations: 4 kB / 0.6292 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.02055, allocations: 28.84 kB / 0.6293 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.02069, allocations: 31.98 kB / 0.6293 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.02186, allocations: 1.299 MB / 0.6306 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.022, allocations: 28.11 kB / 0.6306 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.02201, allocations: 7.938 kB / 0.6306 GB, free: 7.887 MB / 0.545 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.0001481/0.02216, allocations: 142.8 kB / 0.6307 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.02221, allocations: 19.89 kB / 0.6307 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.02225, allocations: 21.41 kB / 0.6308 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.02225, allocations: 4 kB / 0.6308 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02225, allocations: 0 / 0.6308 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.02226, allocations: 0 / 0.6308 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.02293, allocations: 410.8 kB / 0.6312 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02293, allocations: 0 / 0.6312 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.023, allocations: 11.98 kB / 0.6312 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.578e-05/0.02309, allocations: 24.84 kB / 0.6312 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.0231, allocations: 4 kB / 0.6312 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.02417, allocations: 1.295 MB / 0.6325 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.02417, allocations: 3.938 kB / 0.6325 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.02451, allocations: 232.3 kB / 0.6327 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.02457, allocations: 27.83 kB / 0.6327 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.02459, allocations: 3.938 kB / 0.6327 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.02471, allocations: 8 kB / 0.6327 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.02476, allocations: 7.984 kB / 0.6327 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.02477, allocations: 4 kB / 0.6327 GB, free: 5.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001384/0.02491, allocations: 148 kB / 0.6329 GB, free: 5.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.02491, allocations: 4.094 kB / 0.6329 GB, free: 5.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003726/0.02528, allocations: 59.84 kB / 0.6329 GB, free: 5.305 MB / 0.545 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.0001589/0.02544, allocations: 99.19 kB / 0.633 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.02592, allocations: 218.6 kB / 0.6332 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02592, allocations: 0.5625 kB / 0.6332 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.02617, allocations: 162.6 kB / 0.6334 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.02656, allocations: 34.75 kB / 0.6334 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.02729, allocations: 390.4 kB / 0.6338 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.02745, allocations: 152.1 kB / 0.6339 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.02756, allocations: 29.47 kB / 0.634 GB, free: 4.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.0276, allocations: 16.5 kB / 0.634 GB, free: 4.148 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.0276, allocations: 0 / 0.634 GB, free: 4.148 MB / 0.545 GB Notification: Performance of Templates: time 0.005474/0.03307, allocations: 1.837 MB / 0.6358 GB, free: 2.371 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.664943594485521] Failed to read output from testmodel.py, exit status != 0: 0.0413680337369442 0.05549777400000001 0.039530576000000005 Calling exit ...