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.001591/0.001591, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001965/0.001965, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.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.27/1.27, allocations: 203.8 MB / 0.5041 GB, free: 4.582 MB / 414.1 MB " [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: 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.002197/0.002197, allocations: 63.91 kB / 0.7186 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5644, allocations: 102 MB / 0.8182 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.005779/0.5702, allocations: 3.19 MB / 0.8214 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.5727, allocations: 1.39 MB / 0.8227 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.5728, allocations: 9.344 kB / 0.8227 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5738, allocations: 332.9 kB / 0.823 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.5743, allocations: 159.3 kB / 0.8232 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.5747, allocations: 154.8 kB / 0.8233 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.5751, allocations: 333.9 kB / 0.8237 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.5755, allocations: 194.2 kB / 0.8238 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.5757, allocations: 157.1 kB / 0.824 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.576, allocations: 147.1 kB / 0.8241 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.576, allocations: 20.06 kB / 0.8242 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.5764, allocations: 155.2 kB / 0.8243 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.5765, allocations: 83.91 kB / 0.8244 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.5766, allocations: 111.1 kB / 0.8245 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.5771, allocations: 361.1 kB / 0.8248 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5771, allocations: 2.062 kB / 0.8248 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5771, allocations: 0 / 0.8248 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.5771, allocations: 0.5 kB / 0.8248 GB, free: 24.96 MB / 0.6387 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.000868/0.5779, allocations: 489.1 kB / 0.8253 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.578, allocations: 10.41 kB / 0.8253 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000694/0.5787, allocations: 91.2 kB / 0.8254 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.579, allocations: 210 kB / 0.8256 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.579, allocations: 16.47 kB / 0.8256 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.579, allocations: 16.97 kB / 0.8256 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.5796, allocations: 396.7 kB / 0.826 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5796, allocations: 0.875 kB / 0.826 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.5797, allocations: 10.34 kB / 0.826 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.5797, allocations: 17.28 kB / 0.826 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.5801, allocations: 218.2 kB / 0.8262 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.5815, allocations: 1.023 MB / 0.8272 GB, free: 23.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.582, allocations: 122.7 kB / 0.8274 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.5821, allocations: 42.66 kB / 0.8274 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.5821, allocations: 2.688 kB / 0.8274 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5821, allocations: 32.59 kB / 0.8274 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.5821, allocations: 0.5 kB / 0.8274 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005845/0.5827, allocations: 190.1 kB / 0.8276 GB, free: 23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.5827, allocations: 53.52 kB / 0.8277 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.5829, allocations: 195.5 kB / 0.8279 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.5829, allocations: 31.08 kB / 0.8279 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.583, allocations: 187.1 kB / 0.8281 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.5831, allocations: 29.84 kB / 0.8281 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.5831, allocations: 41.02 kB / 0.8281 GB, free: 22.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.5832, allocations: 327 kB / 0.8284 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5833, allocations: 48.25 kB / 0.8285 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.5834, allocations: 110.4 kB / 0.8286 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.5837, allocations: 170.1 kB / 0.8288 GB, free: 21.99 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5837, allocations: 0 / 0.8288 GB, free: 21.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003754/0.584, allocations: 213.1 kB / 0.829 GB, free: 21.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.5841, allocations: 9.062 kB / 0.829 GB, free: 21.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5841, allocations: 1.375 kB / 0.829 GB, free: 21.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.5843, allocations: 27.25 kB / 0.829 GB, free: 21.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.5844, allocations: 33.14 kB / 0.829 GB, free: 21.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007601/0.5852, allocations: 1.303 MB / 0.8303 GB, free: 20.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.5853, allocations: 19.53 kB / 0.8303 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.5853, allocations: 10.75 kB / 0.8303 GB, free: 20.59 MB / 0.6387 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.0001071/0.5854, allocations: 149.6 kB / 0.8305 GB, free: 20.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.5855, allocations: 20.27 kB / 0.8305 GB, free: 20.45 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.5855, allocations: 23.53 kB / 0.8305 GB, free: 20.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5855, allocations: 0.9375 kB / 0.8305 GB, free: 20.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5855, allocations: 5.828 kB / 0.8305 GB, free: 20.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5855, allocations: 4.609 kB / 0.8305 GB, free: 20.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.5861, allocations: 402.2 kB / 0.8309 GB, free: 20.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5861, allocations: 1.188 kB / 0.8309 GB, free: 20.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.5861, allocations: 14.95 kB / 0.8309 GB, free: 20.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-05/0.5862, allocations: 32.05 kB / 0.8309 GB, free: 20.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.5862, allocations: 1.844 kB / 0.831 GB, free: 20.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006595/0.5869, allocations: 1.295 MB / 0.8322 GB, free: 18.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5869, allocations: 0 / 0.8322 GB, free: 18.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.5871, allocations: 234 kB / 0.8324 GB, free: 18.67 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.5872, allocations: 31.59 kB / 0.8325 GB, free: 18.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.5872, allocations: 1.375 kB / 0.8325 GB, free: 18.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5874, allocations: 6.375 kB / 0.8325 GB, free: 18.65 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.5874, allocations: 10.05 kB / 0.8325 GB, free: 18.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5874, allocations: 5.375 kB / 0.8325 GB, free: 18.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001098/0.5875, allocations: 150.9 kB / 0.8326 GB, free: 18.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.5875, allocations: 0 / 0.8326 GB, free: 18.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003537/0.5879, allocations: 59.84 kB / 0.8327 GB, free: 18.52 MB / 0.6387 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 9.407e-05/0.588, allocations: 93.66 kB / 0.8328 GB, free: 18.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.5884, allocations: 228.1 kB / 0.833 GB, free: 18.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5884, allocations: 1.375 kB / 0.833 GB, free: 18.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.5886, allocations: 153.5 kB / 0.8331 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.589, allocations: 38.61 kB / 0.8332 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.5896, allocations: 407.7 kB / 0.8336 GB, free: 17.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.5898, allocations: 143.9 kB / 0.8337 GB, free: 17.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.5899, allocations: 34.7 kB / 0.8337 GB, free: 17.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.5899, allocations: 14.45 kB / 0.8338 GB, free: 17.79 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.5899, allocations: 1.156 kB / 0.8338 GB, free: 17.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.006237/0.5962, allocations: 2.087 MB / 0.8358 GB, free: 17.56 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.7130744736641645] Failed to read output from testmodel.py, exit status != 0: 0.6052707452327013 0.6182665869999999 0.038355761 Calling exit ...