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.0006848/0.0006848, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009153/0.0016, allocations: 440 kB / 10.41 MB, free: 284 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.0006831/0.0006831, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009245/0.001608, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.067/1.067, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08659/1.153, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.04179/0.04179, allocations: 4.322 MB / 248.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003695/0.04549, allocations: 1.706 MB / 250.2 MB, free: 8.863 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.332e-06/1.332e-06, allocations: 0 / 251.5 MB, free: 7.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.01e-05, allocations: 2.312 kB / 251.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003897/0.003917, allocations: 4.459 MB / 256 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.006076, allocations: 1.75 MB / 257.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.006268, allocations: 15.88 kB / 257.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.006842, allocations: 381 kB / 258.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.007147, allocations: 254.2 kB / 258.3 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.007452, allocations: 235.5 kB / 258.6 MB, free: 424 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2281/0.2355, allocations: 28.45 MB / 287 MB, free: 2.906 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004037/0.2396, allocations: 3.679 MB / 290.7 MB, free: 1.633 MB / 266.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02701/0.2666, allocations: 17.39 MB / 308.1 MB, free: 8.676 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01791/0.2845, allocations: 11.6 MB / 319.7 MB, free: 13.1 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005695/0.2902, allocations: 2.415 MB / 322.1 MB, free: 10.68 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006335/0.2965, allocations: 2.461 MB / 324.6 MB, free: 8.223 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.2996, allocations: 3.347 MB / 327.9 MB, free: 4.867 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01554/0.3152, allocations: 5.106 MB / 333 MB, free: 15.75 MB / 314.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03075/0.3459, allocations: 15.65 MB / 348.7 MB, free: 164 kB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-05/0.3459, allocations: 0 / 348.7 MB, free: 164 kB / 314.8 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3459, allocations: 0.6875 kB / 348.7 MB, free: 164 kB / 314.8 MB Notification: Performance of Transformations before backend: time 0.0007546/0.3467, allocations: 0 / 348.7 MB, free: 164 kB / 314.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.04234/0.389, allocations: 19.56 MB / 368.2 MB, free: 12.48 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3891, allocations: 16.75 kB / 368.2 MB, free: 12.46 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008781/0.3979, allocations: 1.598 MB / 369.8 MB, free: 10.87 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02578/0.4236, allocations: 9.95 MB / 379.8 MB, free: 0.9297 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/0.4241, allocations: 0.6217 MB / 380.4 MB, free: 312 kB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004191/0.4283, allocations: 0.8165 MB / 381.2 MB, free: 15.48 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.4464, allocations: 7.322 MB / 388.6 MB, free: 7.715 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/0.4466, allocations: 29.69 kB / 388.6 MB, free: 7.699 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/0.4479, allocations: 344 kB / 388.9 MB, free: 7.363 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.4481, allocations: 220 kB / 389.1 MB, free: 7.148 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007924/0.456, allocations: 3.01 MB / 392.1 MB, free: 4.195 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05845/0.5145, allocations: 29.38 MB / 421.5 MB, free: 6.156 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008069/0.5225, allocations: 4.574 MB / 426.1 MB, free: 1.578 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1463/0.6689, allocations: 1.642 MB / 427.7 MB, free: 113.6 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/0.6692, allocations: 88.97 kB / 427.8 MB, free: 113.5 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.6693, allocations: 80.17 kB / 427.9 MB, free: 113.5 MB / 394.8 MB Notification: Performance of pre-optimization done (n=448): time 9.437e-06/0.6693, allocations: 3.75 kB / 427.9 MB, free: 113.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=448): time 0.01528/0.6846, allocations: 3.41 MB / 431.3 MB, free: 113.4 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.6847, allocations: 99.14 kB / 431.4 MB, free: 113.3 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01639/0.7011, allocations: 8.269 MB / 439.7 MB, free: 112.1 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001396/0.7025, allocations: 116.8 kB / 439.8 MB, free: 112.1 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002687/0.7052, allocations: 4.301 MB / 444.1 MB, free: 111.3 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001535/0.7067, allocations: 1.638 MB / 445.7 MB, free: 110.4 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002762/0.7095, allocations: 1.914 MB / 447.6 MB, free: 110 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.7095, allocations: 312.8 kB / 448 MB, free: 109.7 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.7117, allocations: 1.347 MB / 449.3 MB, free: 109.6 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/0.7149, allocations: 2.515 MB / 451.8 MB, free: 108.5 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006535/0.7214, allocations: 4.625 MB / 456.4 MB, free: 107.3 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.193e-05/0.7215, allocations: 5.188 kB / 456.4 MB, free: 107.3 MB / 394.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.01781/0.7393, allocations: 8.095 MB / 464.5 MB, free: 105 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.7393, allocations: 19.98 kB / 464.6 MB, free: 105 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/0.7394, allocations: 24 kB / 464.6 MB, free: 104.9 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02063/0.76, allocations: 12.84 MB / 477.4 MB, free: 92.07 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005529/0.7655, allocations: 1.558 MB / 479 MB, free: 90.51 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04806/0.8136, allocations: 68.82 MB / 0.535 GB, free: 17.38 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009895/0.8235, allocations: 1.043 MB / 0.536 GB, free: 16.52 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002781/0.8263, allocations: 291.7 kB / 0.5363 GB, free: 16.23 MB / 394.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.005771/0.832, allocations: 489.5 kB / 0.5367 GB, free: 15.75 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00292/0.8349, allocations: 0.7491 MB / 0.5375 GB, free: 15 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/0.8428, allocations: 3.718 MB / 0.5411 GB, free: 11.26 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.8428, allocations: 40 kB / 0.5411 GB, free: 11.22 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8428, allocations: 4 kB / 0.5411 GB, free: 11.22 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.8429, allocations: 19.92 kB / 0.5411 GB, free: 11.2 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/0.8691, allocations: 8.679 MB / 0.5496 GB, free: 2.547 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.8691, allocations: 3.938 kB / 0.5496 GB, free: 2.543 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.8706, allocations: 435.5 kB / 0.55 GB, free: 2.117 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00534/0.8759, allocations: 1.375 MB / 0.5514 GB, free: 0.7891 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008776/0.8847, allocations: 7.91 MB / 0.5591 GB, free: 8.871 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007344/0.8854, allocations: 107.9 kB / 0.5592 GB, free: 8.766 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.8985, allocations: 4.149 MB / 0.5633 GB, free: 4.59 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8985, allocations: 4 kB / 0.5633 GB, free: 4.586 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007336/0.9059, allocations: 3.093 MB / 0.5663 GB, free: 1.457 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002876/0.9088, allocations: 82.78 kB / 0.5664 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004601/0.9134, allocations: 263.8 kB / 0.5666 GB, free: 1.121 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.9137, allocations: 231 kB / 0.5668 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003728/0.914, allocations: 111.9 kB / 0.5669 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.1403/1.054, allocations: 4.297 MB / 0.5711 GB, free: 104.8 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.7e-07/1.054, allocations: 0 / 0.5711 GB, free: 104.8 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0107/1.065, allocations: 3.124 MB / 0.5742 GB, free: 104.8 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.001471/1.067, allocations: 175.5 kB / 0.5744 GB, free: 104.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0221/1.089, allocations: 12.59 MB / 0.5867 GB, free: 98.54 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004534/1.089, allocations: 174.6 kB / 0.5868 GB, free: 98.52 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0114/1.1, allocations: 3.303 MB / 0.59 GB, free: 98.36 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01808/1.119, allocations: 24.79 MB / 0.6143 GB, free: 74.57 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0686/1.187, allocations: 20.7 MB / 0.6345 GB, free: 62.97 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.19, allocations: 2.712 MB / 0.6371 GB, free: 61.13 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004761/1.195, allocations: 1.473 MB / 0.6386 GB, free: 59.98 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00349/1.199, allocations: 2.051 MB / 0.6406 GB, free: 58.21 MB / 410.8 MB Notification: Performance of SimCode: time 2.435e-06/1.199, allocations: 0 / 0.6406 GB, free: 58.21 MB / 410.8 MB Notification: Performance of Templates: time 0.3456/1.544, allocations: 204.5 MB / 0.8403 GB, free: 47.19 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.309521535411477]