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.0009233/0.0009233, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009748/0.0009748, allocations: 173 kB / 23.49 MB, free: 1.059 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.9883/0.9883, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.01821/0.01821, allocations: 4.221 MB / 264.5 MB, free: 9.027 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.833e-06/1.833e-06, allocations: 0 / 339 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.939e-05, allocations: 4.703 kB / 339 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003608/0.003637, allocations: 4.337 MB / 343.3 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.005994, allocations: 1.605 MB / 344.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.006322, allocations: 11.94 kB / 345 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.007014, allocations: 297.2 kB / 345.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.007373, allocations: 266.1 kB / 345.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.007696, allocations: 219.6 kB / 345.7 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0143/0.02199, allocations: 26.39 MB / 372.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004075/0.02607, allocations: 3.503 MB / 375.6 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01795/0.04402, allocations: 13.98 MB / 389.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01611/0.06013, allocations: 11.87 MB / 401.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006335/0.06646, allocations: 2.711 MB / 404.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007282/0.07375, allocations: 2.719 MB / 406.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007088/0.08083, allocations: 5.208 MB / 412.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2335/0.3144, allocations: 6.906 MB / 419 MB, free: 46.92 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02379/0.3382, allocations: 18.4 MB / 437.4 MB, free: 43.4 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3382, allocations: 0 / 437.4 MB, free: 43.4 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3382, allocations: 0.7812 kB / 437.4 MB, free: 43.4 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0007928/0.339, allocations: 0 / 437.4 MB, free: 43.4 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.05342/0.3924, allocations: 29.4 MB / 466.8 MB, free: 22.62 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3924, allocations: 15.03 kB / 466.8 MB, free: 22.61 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006337/0.3988, allocations: 2.19 MB / 469 MB, free: 20.41 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0276/0.4264, allocations: 16.21 MB / 485.2 MB, free: 4.508 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/0.4268, allocations: 0.6228 MB / 485.8 MB, free: 3.883 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003223/0.43, allocations: 0.8203 MB / 486.7 MB, free: 3.062 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.4497, allocations: 8.944 MB / 495.6 MB, free: 9.48 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.4499, allocations: 27.75 kB / 495.6 MB, free: 9.453 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001818/0.4517, allocations: 344 kB / 496 MB, free: 9.117 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.4519, allocations: 213.8 kB / 496.2 MB, free: 8.91 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01637/0.4683, allocations: 4.53 MB / 0.489 GB, free: 4.379 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07698/0.5452, allocations: 48.84 MB / 0.5367 GB, free: 3.023 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/0.5578, allocations: 6.143 MB / 0.5427 GB, free: 13.13 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/0.5618, allocations: 2.162 MB / 0.5448 GB, free: 10.97 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.5619, allocations: 87.5 kB / 0.5449 GB, free: 10.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.562, allocations: 84.89 kB / 0.5449 GB, free: 10.79 MB / 410.8 MB Notification: Performance of pre-optimization done (n=448): time 6.162e-06/0.562, allocations: 0 / 0.5449 GB, free: 10.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=448): time 0.01403/0.576, allocations: 5.467 MB / 0.5503 GB, free: 5.301 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.5761, allocations: 98.92 kB / 0.5504 GB, free: 5.191 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1961/0.7721, allocations: 11.17 MB / 0.5613 GB, free: 126.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001421/0.7736, allocations: 113.4 kB / 0.5614 GB, free: 126.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004882/0.7784, allocations: 7.07 MB / 0.5683 GB, free: 125.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/0.7805, allocations: 1.734 MB / 0.57 GB, free: 124.2 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003406/0.7839, allocations: 2.265 MB / 0.5722 GB, free: 123.1 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.7839, allocations: 484.2 kB / 0.5727 GB, free: 122.7 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/0.7875, allocations: 2.132 MB / 0.5748 GB, free: 122.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004132/0.7916, allocations: 3.855 MB / 0.5785 GB, free: 120.5 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007377/0.799, allocations: 5.598 MB / 0.584 GB, free: 117.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/0.799, allocations: 7.281 kB / 0.584 GB, free: 117.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.02277/0.8218, allocations: 11.45 MB / 0.5952 GB, free: 112.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.8218, allocations: 19.94 kB / 0.5952 GB, free: 112.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.8219, allocations: 20 kB / 0.5952 GB, free: 112.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02109/0.843, allocations: 18.71 MB / 0.6135 GB, free: 97.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/0.8473, allocations: 1.486 MB / 0.6149 GB, free: 95.86 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.236/1.083, allocations: 105.6 MB / 0.718 GB, free: 98.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/1.095, allocations: 2.102 MB / 0.7201 GB, free: 98.44 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.096, allocations: 380.2 kB / 0.7204 GB, free: 98.44 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.003706/1.1, allocations: 0.5248 MB / 0.7209 GB, free: 98.28 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/1.102, allocations: 1.241 MB / 0.7222 GB, free: 98.28 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/1.111, allocations: 4.961 MB / 0.727 GB, free: 97.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/1.111, allocations: 50.3 kB / 0.7271 GB, free: 97.96 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.111, allocations: 0 / 0.7271 GB, free: 97.96 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/1.111, allocations: 18.56 kB / 0.7271 GB, free: 97.96 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03342/1.145, allocations: 17.07 MB / 0.7437 GB, free: 94.56 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.145, allocations: 0 / 0.7437 GB, free: 94.56 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/1.145, allocations: 453.8 kB / 0.7442 GB, free: 94.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008588/1.154, allocations: 8.312 MB / 0.7523 GB, free: 92.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005285/1.154, allocations: 119.9 kB / 0.7524 GB, free: 92.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02196/1.176, allocations: 10.41 MB / 0.7626 GB, free: 81.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.176, allocations: 0 / 0.7626 GB, free: 81.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/1.188, allocations: 5.015 MB / 0.7675 GB, free: 77.05 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005843/1.193, allocations: 2.339 MB / 0.7698 GB, free: 74.76 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003059/1.197, allocations: 72 kB / 0.7698 GB, free: 74.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006214/1.203, allocations: 1.053 MB / 0.7708 GB, free: 73.63 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/1.203, allocations: 246.8 kB / 0.7711 GB, free: 73.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003834/1.203, allocations: 139.9 kB / 0.7712 GB, free: 73.26 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.009535/1.213, allocations: 5.599 MB / 0.7767 GB, free: 67.7 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.213, allocations: 4 kB / 0.7767 GB, free: 67.7 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01093/1.224, allocations: 3.099 MB / 0.7797 GB, free: 64.77 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.001102/1.225, allocations: 198.1 kB / 0.7799 GB, free: 64.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02858/1.254, allocations: 21.86 MB / 0.8013 GB, free: 41.76 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.254, allocations: 2.438 kB / 0.8013 GB, free: 41.76 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0236/1.277, allocations: 8.782 MB / 0.8098 GB, free: 33.01 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01419/1.291, allocations: 2.831 MB / 0.8126 GB, free: 30.23 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/1.327, allocations: 21.22 MB / 0.8333 GB, free: 8.984 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/1.33, allocations: 3.561 MB / 0.8368 GB, free: 5.391 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005837/1.336, allocations: 2.933 MB / 0.8397 GB, free: 2.449 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/1.338, allocations: 0.5821 MB / 0.8402 GB, free: 1.871 MB / 410.8 MB Notification: Performance of SimCode: time 2.424e-06/1.338, allocations: 0 / 0.8402 GB, free: 1.871 MB / 410.8 MB Notification: Performance of Templates: time 0.4424/1.78, allocations: 181 MB / 1.017 GB, free: 126.8 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.34639433096163]