Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.0009299/0.0009299, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004272/0.005202, 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.0009481/0.0009481, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003022/0.003971, 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 0.9786/0.9786, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09429/1.073, 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.01786/0.01786, allocations: 4.32 MB / 248.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00306/0.02092, allocations: 1.702 MB / 250.2 MB, free: 8.867 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.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 251.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.439e-05, allocations: 2.312 kB / 251.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004102/0.004126, allocations: 4.46 MB / 256 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.006278, allocations: 1.75 MB / 257.7 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.006533, allocations: 15.88 kB / 257.7 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.007339, allocations: 381 kB / 258.1 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.007743, allocations: 278 kB / 258.4 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.008114, allocations: 219.6 kB / 258.6 MB, free: 404 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2398/0.2479, allocations: 28.46 MB / 287.1 MB, free: 2.898 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/0.2523, allocations: 3.673 MB / 290.7 MB, free: 1.609 MB / 266.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03005/0.2824, allocations: 17.38 MB / 308.1 MB, free: 8.633 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01944/0.3018, allocations: 11.61 MB / 319.7 MB, free: 13.05 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007791/0.3096, allocations: 2.418 MB / 322.1 MB, free: 10.63 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.3201, allocations: 2.465 MB / 324.6 MB, free: 8.168 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008241/0.3283, allocations: 3.347 MB / 328 MB, free: 4.812 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02087/0.3492, allocations: 5.102 MB / 333.1 MB, free: 15.7 MB / 314.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02831/0.3775, allocations: 15.65 MB / 348.7 MB, free: 116 kB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.918e-05/0.3775, allocations: 0.5 kB / 348.7 MB, free: 116 kB / 314.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3775, allocations: 4.938 kB / 348.7 MB, free: 112 kB / 314.8 MB Notification: Performance of Transformations before backend: time 0.0008696/0.3784, allocations: 0 / 348.7 MB, free: 112 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.04231/0.4207, allocations: 19.55 MB / 368.3 MB, free: 12.44 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4207, allocations: 12.75 kB / 368.3 MB, free: 12.43 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009059/0.4298, allocations: 1.602 MB / 369.9 MB, free: 10.82 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02436/0.4542, allocations: 9.957 MB / 379.8 MB, free: 0.8828 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008967/0.455, allocations: 0.6217 MB / 380.5 MB, free: 264 kB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003506/0.4586, allocations: 0.8165 MB / 381.3 MB, free: 15.44 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.4813, allocations: 7.314 MB / 388.6 MB, free: 7.672 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002035/0.4815, allocations: 24.94 kB / 388.6 MB, free: 7.66 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/0.4838, allocations: 348 kB / 389 MB, free: 7.32 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.484, allocations: 220 kB / 389.2 MB, free: 7.105 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.4948, allocations: 3.015 MB / 392.2 MB, free: 4.152 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06032/0.5551, allocations: 29.38 MB / 421.6 MB, free: 6.113 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008608/0.5637, allocations: 4.571 MB / 426.1 MB, free: 1.535 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1425/0.7062, allocations: 1.644 MB / 427.8 MB, free: 117.1 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003454/0.7066, allocations: 91.28 kB / 427.9 MB, free: 117.1 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.7066, allocations: 79.77 kB / 427.9 MB, free: 117.1 MB / 394.8 MB Notification: Performance of pre-optimization done (n=448): time 5.801e-06/0.7066, allocations: 1 kB / 427.9 MB, free: 117.1 MB / 394.8 MB Notification: Performance of matching and sorting (n=448): time 0.01074/0.7174, allocations: 3.413 MB / 431.4 MB, free: 116.9 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.7174, allocations: 98.75 kB / 431.5 MB, free: 116.9 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01397/0.7314, allocations: 8.271 MB / 439.7 MB, free: 115.7 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001485/0.7329, allocations: 111.5 kB / 439.8 MB, free: 115.7 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00261/0.7355, allocations: 4.304 MB / 444.1 MB, free: 114.7 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001969/0.7374, allocations: 1.639 MB / 445.8 MB, free: 113.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003742/0.7412, allocations: 1.916 MB / 447.7 MB, free: 113.1 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.7412, allocations: 309.7 kB / 448 MB, free: 112.8 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.7434, allocations: 1.348 MB / 449.3 MB, free: 112.8 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.7457, allocations: 2.521 MB / 451.9 MB, free: 111.7 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/0.7507, allocations: 4.619 MB / 456.5 MB, free: 110.5 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/0.7507, allocations: 6.781 kB / 456.5 MB, free: 110.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.01429/0.765, allocations: 8.091 MB / 464.6 MB, free: 108.9 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.7651, allocations: 16 kB / 464.6 MB, free: 108.9 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/0.7651, allocations: 24 kB / 464.6 MB, free: 108.9 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01692/0.782, allocations: 12.83 MB / 477.5 MB, free: 96.22 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/0.7862, allocations: 1.561 MB / 479 MB, free: 94.66 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03396/0.8202, allocations: 68.83 MB / 0.535 GB, free: 21.5 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00812/0.8283, allocations: 1.045 MB / 0.536 GB, free: 20.45 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/0.8295, allocations: 291.7 kB / 0.5363 GB, free: 20.16 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.003989/0.8335, allocations: 487 kB / 0.5368 GB, free: 19.68 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/0.8357, allocations: 0.7491 MB / 0.5375 GB, free: 18.93 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006653/0.8424, allocations: 3.719 MB / 0.5411 GB, free: 15.18 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.8424, allocations: 44 kB / 0.5412 GB, free: 15.14 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8424, allocations: 0 / 0.5412 GB, free: 15.14 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.8424, allocations: 19.92 kB / 0.5412 GB, free: 15.12 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/0.8639, allocations: 8.677 MB / 0.5497 GB, free: 6.391 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.8639, allocations: 3.938 kB / 0.5497 GB, free: 6.387 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.8647, allocations: 443.3 kB / 0.5501 GB, free: 5.957 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005812/0.8705, allocations: 1.374 MB / 0.5514 GB, free: 4.566 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008111/0.8786, allocations: 7.91 MB / 0.5592 GB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006569/0.8793, allocations: 103.9 kB / 0.5593 GB, free: 12.54 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.8924, allocations: 4.165 MB / 0.5633 GB, free: 8.355 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8924, allocations: 0 / 0.5633 GB, free: 8.355 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006832/0.8992, allocations: 3.093 MB / 0.5663 GB, free: 5.227 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002607/0.9018, allocations: 71.94 kB / 0.5664 GB, free: 5.156 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005007/0.9068, allocations: 263.8 kB / 0.5667 GB, free: 4.898 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006916/0.9075, allocations: 231 kB / 0.5669 GB, free: 4.672 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006203/0.9082, allocations: 107.9 kB / 0.567 GB, free: 4.566 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.008574/0.9167, allocations: 4.306 MB / 0.5712 GB, free: 320 kB / 410.8 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9167, allocations: 4 kB / 0.5712 GB, free: 316 kB / 410.8 MB Notification: Performance of remove unused functions: time 0.135/1.052, allocations: 3.114 MB / 0.5742 GB, free: 109.3 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.0008657/1.053, allocations: 179.8 kB / 0.5744 GB, free: 109.2 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0207/1.073, allocations: 12.58 MB / 0.5867 GB, free: 103.1 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004566/1.074, allocations: 179.6 kB / 0.5869 GB, free: 103.1 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01095/1.085, allocations: 3.298 MB / 0.5901 GB, free: 102.9 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01565/1.1, allocations: 24.78 MB / 0.6143 GB, free: 79.11 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07731/1.178, allocations: 20.73 MB / 0.6345 GB, free: 70.07 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/1.181, allocations: 2.72 MB / 0.6372 GB, free: 68.23 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.01144/1.193, allocations: 1.469 MB / 0.6386 GB, free: 67.08 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01691/1.21, allocations: 2.053 MB / 0.6406 GB, free: 65.31 MB / 410.8 MB Notification: Performance of SimCode: time 1.413e-06/1.21, allocations: 3.938 kB / 0.6406 GB, free: 65.3 MB / 410.8 MB Notification: Performance of Templates: time 0.3296/1.539, allocations: 204.5 MB / 0.8404 GB, free: 55.87 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow -s=dassl -lv=LOG_STATS -jacobian=coloredNumerical -nls=newton -nlssMaxDensity=0 -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.462275232188404]