Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.0009345/0.0009345, allocations: 92.22 kB / 19.65 MB, free: 276 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.001304/0.001304, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03149/0.03149, allocations: 4.231 MB / 264.2 MB, free: 8.934 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.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(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.802e-05, allocations: 6.25 kB / 339.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003663/0.003691, allocations: 4.363 MB / 343.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.005829, allocations: 1.609 MB / 345 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.006135, allocations: 11.94 kB / 345.1 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000729/0.006864, allocations: 301.1 kB / 345.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.007308, allocations: 262.2 kB / 345.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.007685, allocations: 227.4 kB / 345.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02143/0.02911, allocations: 26.39 MB / 372.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006154/0.03527, allocations: 3.499 MB / 375.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02117/0.05644, allocations: 14.21 MB / 389.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01458/0.07102, allocations: 10.29 MB / 400.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007442/0.07846, allocations: 2.309 MB / 402.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009292/0.08775, allocations: 2.332 MB / 404.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006673/0.09443, allocations: 4.557 MB / 409.4 MB, free: 3.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2922/0.3867, allocations: 6.262 MB / 415.7 MB, free: 46.38 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01786/0.4045, allocations: 16.38 MB / 432 MB, free: 45.13 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4045, allocations: 1.5 kB / 432.1 MB, free: 45.13 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.011e-06/0.4045, allocations: 0 / 432.1 MB, free: 45.13 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0008475/0.4054, allocations: 0.8125 kB / 432.1 MB, free: 45.13 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.05015/0.4555, allocations: 26.74 MB / 458.8 MB, free: 29 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4556, allocations: 12.03 kB / 458.8 MB, free: 28.98 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005545/0.4611, allocations: 2.194 MB / 461 MB, free: 26.78 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02493/0.486, allocations: 15.54 MB / 476.5 MB, free: 11.56 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005973/0.4866, allocations: 0.6267 MB / 477.2 MB, free: 10.93 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003416/0.49, allocations: 0.8203 MB / 478 MB, free: 10.11 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.5075, allocations: 8.943 MB / 486.9 MB, free: 0.5352 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.5077, allocations: 27.66 kB / 487 MB, free: 0.5117 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001368/0.5091, allocations: 347 kB / 487.3 MB, free: 180 kB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.5092, allocations: 212 kB / 487.5 MB, free: 15.96 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.5218, allocations: 4.535 MB / 492 MB, free: 11.43 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08017/0.6019, allocations: 48.83 MB / 0.5282 GB, free: 10.08 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.6123, allocations: 6.151 MB / 0.5342 GB, free: 4.18 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003826/0.6161, allocations: 2.161 MB / 0.5363 GB, free: 2.02 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.6163, allocations: 87.5 kB / 0.5364 GB, free: 1.934 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.821e-05/0.6164, allocations: 80.91 kB / 0.5365 GB, free: 1.844 MB / 394.8 MB Notification: Performance of pre-optimization done (n=448): time 9.167e-06/0.6164, allocations: 3.938 kB / 0.5365 GB, free: 1.84 MB / 394.8 MB Notification: Performance of matching and sorting (n=448): time 0.01663/0.633, allocations: 5.471 MB / 0.5418 GB, free: 12.35 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.6331, allocations: 98.92 kB / 0.5419 GB, free: 12.24 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01915/0.6522, allocations: 11.17 MB / 0.5528 GB, free: 1.117 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001975/0.6542, allocations: 113.7 kB / 0.5529 GB, free: 1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1481/0.8023, allocations: 7.046 MB / 0.5598 GB, free: 126.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002686/0.805, allocations: 1.729 MB / 0.5615 GB, free: 125.7 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004487/0.8094, allocations: 2.26 MB / 0.5637 GB, free: 125.5 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.8095, allocations: 476.8 kB / 0.5641 GB, free: 125.1 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/0.8138, allocations: 2.129 MB / 0.5662 GB, free: 125 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00525/0.8191, allocations: 3.842 MB / 0.57 GB, free: 123.7 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007135/0.8262, allocations: 5.556 MB / 0.5754 GB, free: 121.9 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/0.8263, allocations: 11.69 kB / 0.5754 GB, free: 121.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.02369/0.8499, allocations: 11.43 MB / 0.5866 GB, free: 118.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.85, allocations: 19.12 kB / 0.5866 GB, free: 118.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/0.85, allocations: 20.53 kB / 0.5866 GB, free: 118.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02497/0.875, allocations: 18.71 MB / 0.6049 GB, free: 104.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00607/0.8811, allocations: 1.484 MB / 0.6063 GB, free: 103.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2184/1.099, allocations: 105.6 MB / 0.7094 GB, free: 101.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/1.113, allocations: 2.085 MB / 0.7115 GB, free: 101.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003/1.116, allocations: 381.8 kB / 0.7118 GB, free: 101.3 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (837): * Single equations (assignments): 788 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.006555/1.122, allocations: 0.5238 MB / 0.7123 GB, free: 101.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003808/1.126, allocations: 1.245 MB / 0.7135 GB, free: 101.2 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.139, allocations: 4.963 MB / 0.7184 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/1.139, allocations: 42.56 kB / 0.7184 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.139, allocations: 0 / 0.7184 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/1.139, allocations: 20.02 kB / 0.7184 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0405/1.179, allocations: 17.07 MB / 0.7351 GB, free: 99 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.179, allocations: 0 / 0.7351 GB, free: 99 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/1.18, allocations: 453 kB / 0.7356 GB, free: 98.97 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008612/1.189, allocations: 8.314 MB / 0.7437 GB, free: 97.21 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000799/1.19, allocations: 118.4 kB / 0.7438 GB, free: 97.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/1.21, allocations: 10.41 MB / 0.754 GB, free: 87.64 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.21, allocations: 0 / 0.754 GB, free: 87.64 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.221, allocations: 5.014 MB / 0.7588 GB, free: 83.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00542/1.226, allocations: 2.349 MB / 0.7611 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002788/1.229, allocations: 72 kB / 0.7612 GB, free: 80.99 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006481/1.235, allocations: 1.053 MB / 0.7622 GB, free: 79.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004297/1.236, allocations: 246.3 kB / 0.7625 GB, free: 79.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005847/1.236, allocations: 139.9 kB / 0.7626 GB, free: 79.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01332/1.25, allocations: 5.595 MB / 0.7681 GB, free: 74.01 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.3e-07/1.25, allocations: 0 / 0.7681 GB, free: 74.01 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01703/1.267, allocations: 3.106 MB / 0.7711 GB, free: 71.07 MB / 410.8 MB 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 (250): * Single equations (assignments): 249 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/1.269, allocations: 195.9 kB / 0.7713 GB, free: 70.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.03058/1.299, allocations: 21.85 MB / 0.7926 GB, free: 48.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.299, allocations: 256 / 0.7926 GB, free: 48.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01839/1.318, allocations: 8.79 MB / 0.8012 GB, free: 39.33 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0145/1.332, allocations: 2.825 MB / 0.804 GB, free: 36.55 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04104/1.373, allocations: 21.23 MB / 0.8247 GB, free: 15.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/1.377, allocations: 3.557 MB / 0.8282 GB, free: 11.73 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.007621/1.385, allocations: 3.159 MB / 0.8313 GB, free: 8.566 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/1.387, allocations: 0.5707 MB / 0.8318 GB, free: 7.996 MB / 410.8 MB Notification: Performance of SimCode: time 3.246e-06/1.387, allocations: 0 / 0.8318 GB, free: 7.996 MB / 410.8 MB Notification: Performance of Templates: time 0.5025/1.89, allocations: 189.5 MB / 1.017 GB, free: 123.3 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.94899727217853]