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.001821/0.001821, allocations: 85.48 kB / 19.44 MB, free: 344 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.00201/0.00201, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.0335/0.0335, allocations: 4.21 MB / 263.8 MB, free: 8.992 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.643e-06/1.643e-06, allocations: 0 / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.929e-05, allocations: 6.25 kB / 338.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004531/0.00456, allocations: 4.299 MB / 342.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.007068, allocations: 1.601 MB / 344.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005388/0.007607, allocations: 11.94 kB / 344.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.008448, allocations: 293.2 kB / 344.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.008956, allocations: 266.1 kB / 344.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.009396, allocations: 223.5 kB / 344.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02653/0.03592, allocations: 26.39 MB / 371.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008057/0.04398, allocations: 3.78 MB / 375.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02643/0.07041, allocations: 14 MB / 389.1 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02397/0.09437, allocations: 11.9 MB / 401 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008295/0.1027, allocations: 2.707 MB / 403.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/0.1132, allocations: 2.719 MB / 406.4 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01203/0.1253, allocations: 5.205 MB / 411.6 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2747/0.4, allocations: 6.915 MB / 418.6 MB, free: 47.19 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02963/0.4296, allocations: 30.76 MB / 449.3 MB, free: 34.5 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4296, allocations: 3.812 kB / 449.3 MB, free: 34.5 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4296, allocations: 2.844 kB / 449.3 MB, free: 34.5 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0007169/0.4304, allocations: 3.984 kB / 449.3 MB, free: 34.5 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.08982/0.5202, allocations: 30.44 MB / 479.8 MB, free: 9.285 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5202, allocations: 12.02 kB / 479.8 MB, free: 9.273 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/0.5337, allocations: 2.186 MB / 482 MB, free: 7.078 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05749/0.5912, allocations: 17.72 MB / 499.7 MB, free: 5.668 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009681/0.5921, allocations: 0.6228 MB / 0.4886 GB, free: 5.043 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005229/0.5973, allocations: 0.8164 MB / 0.4894 GB, free: 4.227 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05018/0.6475, allocations: 15.77 MB / 0.5048 GB, free: 3.82 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003242/0.6479, allocations: 23.94 kB / 0.5048 GB, free: 3.801 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004054/0.6519, allocations: 348 kB / 0.5051 GB, free: 3.461 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002355/0.6521, allocations: 216 kB / 0.5053 GB, free: 3.25 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04073/0.6929, allocations: 15.04 MB / 0.52 GB, free: 4.195 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3067/0.9995, allocations: 152.2 MB / 0.6687 GB, free: 17.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02434/1.024, allocations: 15.49 MB / 0.6838 GB, free: 2.898 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01141/1.035, allocations: 6.489 MB / 0.6901 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/1.036, allocations: 87.5 kB / 0.6902 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.61e-05/1.036, allocations: 80.91 kB / 0.6903 GB, free: 12.29 MB / 426.8 MB Notification: Performance of pre-optimization done (n=448): time 7.454e-06/1.036, allocations: 0 / 0.6903 GB, free: 12.29 MB / 426.8 MB Notification: Performance of matching and sorting (n=448): time 0.05146/1.087, allocations: 19.25 MB / 0.7091 GB, free: 9.484 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.087, allocations: 98.92 kB / 0.7092 GB, free: 9.375 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.186/1.273, allocations: 17.05 MB / 0.7258 GB, free: 142.4 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001577/1.275, allocations: 113.5 kB / 0.7259 GB, free: 142.4 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007043/1.282, allocations: 7.652 MB / 0.7334 GB, free: 140.2 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002793/1.285, allocations: 1.817 MB / 0.7352 GB, free: 138.9 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008078/1.293, allocations: 2.584 MB / 0.7377 GB, free: 137.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/1.293, allocations: 481.5 kB / 0.7382 GB, free: 137.2 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01236/1.305, allocations: 6.769 MB / 0.7448 GB, free: 135.1 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01323/1.318, allocations: 8.737 MB / 0.7533 GB, free: 131.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.028/1.346, allocations: 22 MB / 0.7748 GB, free: 116.1 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-05/1.347, allocations: 4 kB / 0.7748 GB, free: 116.1 MB / 442.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05983/1.406, allocations: 23.88 MB / 0.7981 GB, free: 92.11 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/1.406, allocations: 18.81 kB / 0.7981 GB, free: 92.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.475e-05/1.406, allocations: 27.83 kB / 0.7982 GB, free: 92.07 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04354/1.45, allocations: 25.05 MB / 0.8226 GB, free: 67.18 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00701/1.457, allocations: 1.486 MB / 0.8241 GB, free: 65.69 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2699/1.727, allocations: 125.4 MB / 0.9466 GB, free: 81.54 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01786/1.745, allocations: 2.097 MB / 0.9486 GB, free: 80.71 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003113/1.748, allocations: 385.4 kB / 0.949 GB, free: 80.56 MB / 442.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.01074/1.759, allocations: 4.261 MB / 0.9531 GB, free: 77.88 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004179/1.763, allocations: 1.242 MB / 0.9544 GB, free: 77.35 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02855/1.791, allocations: 15.12 MB / 0.9691 GB, free: 66.21 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/1.791, allocations: 40 kB / 0.9692 GB, free: 66.17 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.791, allocations: 3.938 kB / 0.9692 GB, free: 66.16 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.739e-05/1.791, allocations: 23.92 kB / 0.9692 GB, free: 66.14 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07183/1.863, allocations: 31.69 MB / 1 GB, free: 34.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/1.863, allocations: 0 / 1 GB, free: 34.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.865, allocations: 455.2 kB / 1.001 GB, free: 33.86 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02081/1.886, allocations: 14.33 MB / 1.015 GB, free: 19.52 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001844/1.888, allocations: 119.9 kB / 1.015 GB, free: 19.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06063/1.948, allocations: 21.37 MB / 1.036 GB, free: 13.98 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.948, allocations: 0 / 1.036 GB, free: 13.98 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2052/2.154, allocations: 15.04 MB / 1.05 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008842/2.162, allocations: 2.347 MB / 1.053 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003454/2.166, allocations: 68.38 kB / 1.053 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009514/2.175, allocations: 1.058 MB / 1.054 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/2.176, allocations: 229 kB / 1.054 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009473/2.177, allocations: 149.7 kB / 1.054 GB, free: 135.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01924/2.196, allocations: 10.11 MB / 1.064 GB, free: 134.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.41e-07/2.196, allocations: 0.6562 kB / 1.064 GB, free: 134.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01326/2.209, allocations: 3.096 MB / 1.067 GB, free: 134.4 MB / 458.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.001321/2.211, allocations: 201.1 kB / 1.067 GB, free: 134.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.05787/2.269, allocations: 30.32 MB / 1.097 GB, free: 120.2 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/2.269, allocations: 448 / 1.097 GB, free: 120.2 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.039/2.308, allocations: 12.43 MB / 1.109 GB, free: 108.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01484/2.322, allocations: 2.83 MB / 1.112 GB, free: 105.8 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04726/2.37, allocations: 27.73 MB / 1.139 GB, free: 78.05 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009874/2.38, allocations: 7.426 MB / 1.146 GB, free: 70.57 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.008079/2.388, allocations: 2.941 MB / 1.149 GB, free: 67.62 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/2.39, allocations: 0.5668 MB / 1.149 GB, free: 67.05 MB / 458.8 MB Notification: Performance of SimCode: time 1.442e-06/2.39, allocations: 0 / 1.149 GB, free: 67.05 MB / 458.8 MB Notification: Performance of Templates: time 0.4091/2.799, allocations: 180.7 MB / 1.326 GB, free: 41.89 MB / 458.8 MB " [Timeout remaining time 657] 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: 14.765299304039218]