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.0007499/0.0007499, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008094/0.0008094, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.8325/0.8325, allocations: 230.6 MB / 256.8 MB, free: 3.457 MB / 202.7 MB " [Timeout remaining time 179] 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 0.714/0.714, allocations: 203.8 MB / 0.5049 GB, free: 0.7617 MB / 410.7 MB " [Timeout remaining time 179] 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.0009264/0.0009264, allocations: 67.89 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3982, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003523/0.4018, allocations: 3.328 MB / 0.8223 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.4032, allocations: 1.506 MB / 0.8238 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4033, allocations: 8.938 kB / 0.8238 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.404, allocations: 351.8 kB / 0.8241 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.4042, allocations: 148.9 kB / 0.8243 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.4045, allocations: 166.9 kB / 0.8244 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.4048, allocations: 334.6 kB / 0.8247 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.4051, allocations: 201.2 kB / 0.8249 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.4053, allocations: 151.4 kB / 0.8251 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.4055, allocations: 161.6 kB / 0.8252 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.4055, allocations: 19.03 kB / 0.8253 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.4057, allocations: 183.4 kB / 0.8254 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.4058, allocations: 87.62 kB / 0.8255 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.4059, allocations: 125.6 kB / 0.8256 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.4062, allocations: 357.7 kB / 0.826 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4062, allocations: 0 / 0.826 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4062, allocations: 1.406 kB / 0.826 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.4062, allocations: 0 / 0.826 GB, free: 20.95 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.0005817/0.4068, allocations: 494 kB / 0.8264 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4069, allocations: 11.7 kB / 0.8265 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.4072, allocations: 89.81 kB / 0.8265 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4074, allocations: 198.9 kB / 0.8267 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.4074, allocations: 16.06 kB / 0.8267 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.4075, allocations: 21.34 kB / 0.8268 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.4078, allocations: 320.3 kB / 0.8271 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4078, allocations: 0 / 0.8271 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.4078, allocations: 15.31 kB / 0.8271 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.4079, allocations: 16.09 kB / 0.8271 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.4081, allocations: 212.3 kB / 0.8273 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.409, allocations: 1.453 MB / 0.8287 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.4092, allocations: 125.8 kB / 0.8288 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.4093, allocations: 42.42 kB / 0.8289 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.4093, allocations: 1.156 kB / 0.8289 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.4093, allocations: 32.23 kB / 0.8289 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.4093, allocations: 0 / 0.8289 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003549/0.4097, allocations: 185.3 kB / 0.8291 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/0.4097, allocations: 56.69 kB / 0.8291 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.4098, allocations: 204.7 kB / 0.8293 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.4098, allocations: 30.27 kB / 0.8294 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.4099, allocations: 181.5 kB / 0.8295 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.4099, allocations: 30.42 kB / 0.8296 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.41, allocations: 40.33 kB / 0.8296 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.41, allocations: 332 kB / 0.8299 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.4101, allocations: 47.56 kB / 0.83 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.4101, allocations: 113.5 kB / 0.8301 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.4103, allocations: 168.3 kB / 0.8302 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4103, allocations: 0 / 0.8302 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002363/0.4105, allocations: 213 kB / 0.8304 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4105, allocations: 12.92 kB / 0.8305 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4105, allocations: 2.672 kB / 0.8305 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.4107, allocations: 27.11 kB / 0.8305 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.4107, allocations: 36.5 kB / 0.8305 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005401/0.4113, allocations: 1.33 MB / 0.8318 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.4114, allocations: 19.64 kB / 0.8318 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4114, allocations: 10.97 kB / 0.8319 GB, free: 16.12 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 8.455e-05/0.4114, allocations: 156.3 kB / 0.832 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4115, allocations: 20.64 kB / 0.832 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.4115, allocations: 20.89 kB / 0.832 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4115, allocations: 1.469 kB / 0.832 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.4115, allocations: 0.6094 kB / 0.832 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4115, allocations: 0 / 0.832 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.412, allocations: 461.9 kB / 0.8325 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.412, allocations: 4 kB / 0.8325 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.412, allocations: 12.58 kB / 0.8325 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-05/0.4121, allocations: 23.98 kB / 0.8325 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4121, allocations: 4.516 kB / 0.8325 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000427/0.4125, allocations: 1.32 MB / 0.8338 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.4125, allocations: 1.469 kB / 0.8338 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.4126, allocations: 236.8 kB / 0.834 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.4127, allocations: 27.33 kB / 0.8341 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.4127, allocations: 6.078 kB / 0.8341 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.4128, allocations: 5.625 kB / 0.8341 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4128, allocations: 6.547 kB / 0.8341 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.4128, allocations: 1.375 kB / 0.8341 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.389e-05/0.4129, allocations: 149.8 kB / 0.8342 GB, free: 14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4129, allocations: 4 kB / 0.8342 GB, free: 14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002039/0.4131, allocations: 64.53 kB / 0.8343 GB, free: 13.98 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.804e-05/0.4131, allocations: 99.16 kB / 0.8344 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.4134, allocations: 223.3 kB / 0.8346 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4134, allocations: 5.531 kB / 0.8346 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.4135, allocations: 158.6 kB / 0.8348 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.4138, allocations: 39.41 kB / 0.8348 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.4142, allocations: 444.5 kB / 0.8352 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.4144, allocations: 0.7623 MB / 0.836 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.4144, allocations: 16.3 kB / 0.836 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of SimCode: time 3.9e-07/0.4144, allocations: 0 / 0.836 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.004557/0.419, allocations: 3.268 MB / 0.8392 GB, free: 12.32 MB / 0.6355 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.975025977008045] Failed to read output from testmodel.py, exit status != 0: 0.4238761698361486 0.43150397500000004 0.023669859 Calling exit ...