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.00103/0.00103, 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.001539/0.001539, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9804/0.9804, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.01804/0.01804, allocations: 4.227 MB / 264.2 MB, free: 8.957 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.884e-06/1.884e-06, allocations: 0 / 339.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.701e-05, allocations: 10.25 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003601/0.003638, allocations: 4.361 MB / 343.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005662, allocations: 1.605 MB / 345 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.006007, allocations: 11.94 kB / 345 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.006724, allocations: 301.2 kB / 345.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.007212, allocations: 254.2 kB / 345.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.00879, allocations: 231.5 kB / 345.8 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.02515, allocations: 26.39 MB / 372.2 MB, free: 9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006449/0.0316, allocations: 3.507 MB / 375.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0218/0.05339, allocations: 13.97 MB / 389.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01843/0.07182, allocations: 11.88 MB / 401.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007414/0.07924, allocations: 2.707 MB / 404.3 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008771/0.08801, allocations: 2.723 MB / 407 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007782/0.09579, allocations: 5.208 MB / 412.2 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2461/0.3419, allocations: 6.904 MB / 419.1 MB, free: 47.29 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02545/0.3673, allocations: 18.41 MB / 437.5 MB, free: 43.69 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3673, allocations: 0 / 437.5 MB, free: 43.69 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3673, allocations: 0 / 437.5 MB, free: 43.69 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0007459/0.3681, allocations: 0 / 437.5 MB, free: 43.69 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.05696/0.4251, allocations: 29.4 MB / 466.9 MB, free: 22.74 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4251, allocations: 8.031 kB / 466.9 MB, free: 22.73 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00991/0.435, allocations: 2.186 MB / 469.1 MB, free: 20.54 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03226/0.4673, allocations: 16.22 MB / 485.3 MB, free: 4.629 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005737/0.4678, allocations: 0.6267 MB / 485.9 MB, free: 4 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003959/0.4718, allocations: 0.8164 MB / 486.8 MB, free: 3.184 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.4977, allocations: 8.936 MB / 495.7 MB, free: 9.605 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002663/0.498, allocations: 27.75 kB / 495.7 MB, free: 9.578 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/0.5012, allocations: 348 kB / 496.1 MB, free: 9.238 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.5014, allocations: 212 kB / 496.3 MB, free: 9.031 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.5192, allocations: 4.535 MB / 0.4891 GB, free: 4.496 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08978/0.609, allocations: 48.84 MB / 0.5368 GB, free: 3.141 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.6219, allocations: 6.15 MB / 0.5428 GB, free: 13.25 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005064/0.6269, allocations: 2.148 MB / 0.5449 GB, free: 11.1 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.6271, allocations: 91.48 kB / 0.5449 GB, free: 11.01 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.6272, allocations: 80.91 kB / 0.545 GB, free: 10.92 MB / 410.8 MB Notification: Performance of pre-optimization done (n=448): time 7.213e-06/0.6272, allocations: 0 / 0.545 GB, free: 10.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=448): time 0.01903/0.6462, allocations: 5.482 MB / 0.5504 GB, free: 5.418 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.6463, allocations: 94.92 kB / 0.5505 GB, free: 5.312 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1672/0.8135, allocations: 11.17 MB / 0.5614 GB, free: 123 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001909/0.8154, allocations: 108.8 kB / 0.5615 GB, free: 123 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007568/0.823, allocations: 7.07 MB / 0.5684 GB, free: 122.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002874/0.8259, allocations: 1.733 MB / 0.5701 GB, free: 121.5 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008209/0.8341, allocations: 2.271 MB / 0.5723 GB, free: 120.4 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.8341, allocations: 479.4 kB / 0.5728 GB, free: 119.9 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005805/0.8399, allocations: 2.136 MB / 0.5748 GB, free: 119.7 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006663/0.8466, allocations: 3.863 MB / 0.5786 GB, free: 117.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009929/0.8565, allocations: 5.596 MB / 0.5841 GB, free: 115 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/0.8566, allocations: 7.25 kB / 0.5841 GB, free: 115 MB / 410.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.02336/0.8799, allocations: 11.44 MB / 0.5953 GB, free: 111.2 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.8799, allocations: 16 kB / 0.5953 GB, free: 111.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.88, allocations: 23.2 kB / 0.5953 GB, free: 111.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0203/0.9003, allocations: 18.71 MB / 0.6136 GB, free: 95.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00464/0.9049, allocations: 1.489 MB / 0.615 GB, free: 94.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2103/1.115, allocations: 105.5 MB / 0.7181 GB, free: 95.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0234/1.139, allocations: 2.095 MB / 0.7201 GB, free: 95.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/1.14, allocations: 381 kB / 0.7205 GB, free: 95.5 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * 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.01614/1.156, allocations: 0.5278 MB / 0.721 GB, free: 95.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008889/1.165, allocations: 1.238 MB / 0.7222 GB, free: 95.34 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02625/1.192, allocations: 4.957 MB / 0.7271 GB, free: 95.02 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/1.192, allocations: 45.44 kB / 0.7271 GB, free: 95.02 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.192, allocations: 3.812 kB / 0.7271 GB, free: 95.02 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/1.192, allocations: 29.2 kB / 0.7272 GB, free: 95.02 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03407/1.226, allocations: 17.06 MB / 0.7438 GB, free: 91.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.226, allocations: 0 / 0.7438 GB, free: 91.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000886/1.227, allocations: 449.9 kB / 0.7442 GB, free: 91.88 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008435/1.235, allocations: 8.328 MB / 0.7524 GB, free: 89.08 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/1.236, allocations: 115.9 kB / 0.7525 GB, free: 88.96 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/1.258, allocations: 10.41 MB / 0.7627 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.258, allocations: 0 / 0.7627 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.27, allocations: 5.008 MB / 0.7675 GB, free: 73.96 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0076/1.277, allocations: 2.349 MB / 0.7698 GB, free: 71.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003219/1.28, allocations: 68 kB / 0.7699 GB, free: 71.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0075/1.288, allocations: 1.061 MB / 0.7709 GB, free: 70.53 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/1.289, allocations: 234.9 kB / 0.7712 GB, free: 70.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001095/1.29, allocations: 147.9 kB / 0.7713 GB, free: 70.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01056/1.3, allocations: 5.591 MB / 0.7768 GB, free: 64.61 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.3, allocations: 4 kB / 0.7768 GB, free: 64.61 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01152/1.312, allocations: 3.107 MB / 0.7798 GB, free: 61.67 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.001618/1.313, allocations: 189.6 kB / 0.78 GB, free: 61.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02872/1.342, allocations: 21.86 MB / 0.8013 GB, free: 38.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.342, allocations: 2.625 kB / 0.8013 GB, free: 38.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01828/1.36, allocations: 8.783 MB / 0.8099 GB, free: 29.93 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01244/1.373, allocations: 2.841 MB / 0.8127 GB, free: 27.14 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/1.408, allocations: 21.21 MB / 0.8334 GB, free: 5.918 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/1.411, allocations: 3.561 MB / 0.8369 GB, free: 2.324 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006768/1.418, allocations: 2.941 MB / 0.8397 GB, free: 15.38 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/1.42, allocations: 0.5668 MB / 0.8403 GB, free: 14.81 MB / 426.8 MB Notification: Performance of SimCode: time 3.256e-06/1.42, allocations: 0 / 0.8403 GB, free: 14.81 MB / 426.8 MB Notification: Performance of Templates: time 0.4987/1.919, allocations: 181 MB / 1.017 GB, free: 123.7 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: 9.98162040580064]