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.000741/0.000741, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001799, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007118/0.0007118, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009264/0.001638, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9833/0.9833, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09042/1.074, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.0204/0.0204, allocations: 4.324 MB / 248.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00417/0.02457, allocations: 1.699 MB / 250 MB, free: 8.973 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.403e-06/1.403e-06, allocations: 0 / 251.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.201e-05, allocations: 6.312 kB / 251.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004685/0.004707, allocations: 4.448 MB / 255.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.007103, allocations: 1.75 MB / 257.5 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.007373, allocations: 11.94 kB / 257.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.008064, allocations: 377 kB / 257.9 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.008415, allocations: 270.1 kB / 258.1 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.008738, allocations: 223.5 kB / 258.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.123/0.1317, allocations: 28.45 MB / 286.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005353/0.1371, allocations: 3.674 MB / 290.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02816/0.1652, allocations: 17.38 MB / 307.9 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01626/0.1815, allocations: 11.61 MB / 319.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00577/0.1872, allocations: 2.414 MB / 321.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007367/0.1946, allocations: 2.464 MB / 324.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00605/0.2007, allocations: 3.343 MB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01613/0.2168, allocations: 5.105 MB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02/0.2368, allocations: 15.65 MB / 348.4 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.976e-05/0.2368, allocations: 0 / 348.4 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2368, allocations: 4 kB / 348.4 MB, free: 300 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007142/0.2375, allocations: 0.6875 kB / 348.4 MB, free: 300 kB / 314.7 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.03651/0.274, allocations: 19.56 MB / 368 MB, free: 12.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2741, allocations: 12.75 kB / 368 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004824/0.2789, allocations: 1.602 MB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/0.3002, allocations: 9.943 MB / 379.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005687/0.3007, allocations: 0.6256 MB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003191/0.3039, allocations: 0.8126 MB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.3174, allocations: 7.319 MB / 388.3 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.3175, allocations: 29.72 kB / 388.3 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009793/0.3185, allocations: 348 kB / 388.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.3186, allocations: 212 kB / 388.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005816/0.3244, allocations: 3.014 MB / 391.9 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05086/0.3753, allocations: 29.38 MB / 421.3 MB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/0.383, allocations: 4.574 MB / 425.9 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.3853, allocations: 1.645 MB / 427.5 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1137/0.499, allocations: 91.41 kB / 427.6 MB, free: 114.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.125e-05/0.4991, allocations: 80.02 kB / 427.7 MB, free: 114.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=448): time 8.686e-06/0.4991, allocations: 0 / 427.7 MB, free: 114.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=448): time 0.01158/0.5107, allocations: 3.41 MB / 431.1 MB, free: 114.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.5108, allocations: 101.2 kB / 431.2 MB, free: 114.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/0.5236, allocations: 8.27 MB / 439.5 MB, free: 113.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001265/0.5249, allocations: 110.7 kB / 439.6 MB, free: 113.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002748/0.5276, allocations: 4.309 MB / 443.9 MB, free: 112.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001755/0.5294, allocations: 1.631 MB / 445.5 MB, free: 111.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004408/0.5338, allocations: 1.913 MB / 447.4 MB, free: 111 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.948e-05/0.5338, allocations: 311.8 kB / 447.7 MB, free: 110.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/0.5361, allocations: 1.35 MB / 449.1 MB, free: 110.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.5387, allocations: 2.524 MB / 451.6 MB, free: 109.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.5429, allocations: 4.033 MB / 455.6 MB, free: 108.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.5429, allocations: 5.312 kB / 455.6 MB, free: 108.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.01336/0.5562, allocations: 8.088 MB / 463.7 MB, free: 107.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.5563, allocations: 14.78 kB / 463.7 MB, free: 107.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/0.5563, allocations: 23.44 kB / 463.8 MB, free: 107.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01466/0.571, allocations: 12.72 MB / 476.5 MB, free: 96.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/0.5747, allocations: 1.556 MB / 478 MB, free: 94.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03207/0.6068, allocations: 68.82 MB / 0.534 GB, free: 21.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006775/0.6136, allocations: 1.041 MB / 0.5351 GB, free: 20.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008694/0.6144, allocations: 295.7 kB / 0.5353 GB, free: 20.07 MB / 394.7 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.003031/0.6175, allocations: 491 kB / 0.5358 GB, free: 19.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/0.6193, allocations: 0.7452 MB / 0.5365 GB, free: 18.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006029/0.6253, allocations: 3.716 MB / 0.5402 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.6253, allocations: 48 kB / 0.5402 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.6253, allocations: 0 / 0.5402 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.6253, allocations: 19.92 kB / 0.5402 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/0.6459, allocations: 8.671 MB / 0.5487 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.6459, allocations: 0 / 0.5487 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.647, allocations: 443.5 kB / 0.5491 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004178/0.6512, allocations: 1.375 MB / 0.5505 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/0.6613, allocations: 7.91 MB / 0.5582 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004811/0.6618, allocations: 107.8 kB / 0.5583 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/0.6778, allocations: 4.145 MB / 0.5623 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6778, allocations: 0 / 0.5623 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/0.6854, allocations: 3.086 MB / 0.5653 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002028/0.6874, allocations: 75.98 kB / 0.5654 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003575/0.691, allocations: 267.8 kB / 0.5657 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/0.6914, allocations: 239 kB / 0.5659 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003659/0.6917, allocations: 110.1 kB / 0.566 GB, free: 4.488 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005176/0.6969, allocations: 4.31 MB / 0.5702 GB, free: 236 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6969, allocations: 4 kB / 0.5702 GB, free: 232 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1255/0.8224, allocations: 3.116 MB / 0.5733 GB, free: 109.4 MB / 410.7 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.0008436/0.8232, allocations: 177.2 kB / 0.5734 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02228/0.8455, allocations: 12.52 MB / 0.5857 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003535/0.8458, allocations: 176 kB / 0.5858 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009994/0.8558, allocations: 2.937 MB / 0.5887 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008732/0.8646, allocations: 3.753 MB / 0.5924 GB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0652/0.9298, allocations: 20.71 MB / 0.6126 GB, free: 94.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003277/0.933, allocations: 2.709 MB / 0.6152 GB, free: 93.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00489/0.9379, allocations: 1.476 MB / 0.6167 GB, free: 92.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003854/0.9418, allocations: 2.055 MB / 0.6187 GB, free: 90.99 MB / 410.7 MB Notification: Performance of SimCode: time 2.324e-06/0.9418, allocations: 0 / 0.6187 GB, free: 90.99 MB / 410.7 MB Notification: Performance of Templates: time 0.3188/1.261, allocations: 203.7 MB / 0.8176 GB, free: 62.03 MB / 426.7 MB " [Timeout remaining time 659] 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.125366007909179]