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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02836/0.02836, allocations: 5.472 MB / 310 MB, free: 2.93 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002926/0.002926, allocations: 67.89 kB / 435.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2956, allocations: 53.37 MB / 489 MB, free: 28.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.007248/0.3028, allocations: 4.452 MB / 493.5 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.307, allocations: 1.609 MB / 495.1 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000786/0.3078, allocations: 10.81 kB / 495.1 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.309, allocations: 313.5 kB / 495.4 MB, free: 24.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.31, allocations: 248 kB / 495.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006673/0.3107, allocations: 215.8 kB / 495.8 MB, free: 23.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02518/0.3359, allocations: 25.56 MB / 0.5092 GB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008439/0.3443, allocations: 3.686 MB / 0.5128 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/0.362, allocations: 9.353 MB / 0.5219 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02725/0.3892, allocations: 10.88 MB / 0.5325 GB, free: 216 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008677/0.3979, allocations: 2.703 MB / 0.5352 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.4095, allocations: 2.715 MB / 0.5378 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01379/0.4233, allocations: 5.124 MB / 0.5428 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02949/0.4528, allocations: 9.531 MB / 0.5522 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04386/0.4967, allocations: 29.01 MB / 0.5805 GB, free: 14.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4967, allocations: 0 / 0.5805 GB, free: 14.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4967, allocations: 0 / 0.5805 GB, free: 14.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001044/0.4977, allocations: 0 / 0.5805 GB, free: 14.99 MB / 446.1 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.5665/1.064, allocations: 31.83 MB / 0.6116 GB, free: 82.65 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.064, allocations: 8.969 kB / 0.6116 GB, free: 82.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008806/1.073, allocations: 1.527 MB / 0.6131 GB, free: 82.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05947/1.133, allocations: 19.06 MB / 0.6317 GB, free: 76.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008691/1.133, allocations: 0.627 MB / 0.6323 GB, free: 76.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005705/1.139, allocations: 0.8126 MB / 0.6331 GB, free: 75.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04291/1.182, allocations: 15.68 MB / 0.6484 GB, free: 67.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003891/1.182, allocations: 27.34 kB / 0.6484 GB, free: 67.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004068/1.187, allocations: 344.5 kB / 0.6487 GB, free: 67.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/1.187, allocations: 216.1 kB / 0.649 GB, free: 67.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03739/1.224, allocations: 17.6 MB / 0.6661 GB, free: 51.95 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.335, allocations: 57.32 MB / 0.7221 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03914/1.374, allocations: 20.96 MB / 0.7426 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01442/1.388, allocations: 7.168 MB / 0.7496 GB, free: 13.54 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/1.389, allocations: 67.45 kB / 0.7496 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.876e-05/1.389, allocations: 82.08 kB / 0.7497 GB, free: 13.39 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 6.512e-06/1.389, allocations: 0 / 0.7497 GB, free: 13.39 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1237/1.512, allocations: 36.26 MB / 0.7851 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/1.512, allocations: 94.92 kB / 0.7852 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03391/1.546, allocations: 15.2 MB / 0.8001 GB, free: 9.938 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.001866/1.548, allocations: 109.7 kB / 0.8002 GB, free: 9.824 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.00912/1.557, allocations: 6.21 MB / 0.8062 GB, free: 3.762 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.003242/1.561, allocations: 1.654 MB / 0.8079 GB, free: 2.09 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008868/1.569, allocations: 2.11 MB / 0.8099 GB, free: 15.96 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.57, allocations: 305.1 kB / 0.8102 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01847/1.588, allocations: 7.644 MB / 0.8177 GB, free: 8.004 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2839/1.872, allocations: 8.832 MB / 0.8263 GB, free: 175.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03454/1.906, allocations: 14.4 MB / 0.8404 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.37e-05/1.907, allocations: 6.406 kB / 0.8404 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1361/2.043, allocations: 39.88 MB / 0.8793 GB, free: 159.9 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/2.043, allocations: 16.09 kB / 0.8793 GB, free: 159.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-05/2.043, allocations: 25.75 kB / 0.8794 GB, free: 159.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04533/2.088, allocations: 25.71 MB / 0.9045 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006941/2.095, allocations: 1.494 MB / 0.9059 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.689/2.784, allocations: 202.8 MB / 1.104 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02089/2.805, allocations: 2.591 MB / 1.107 GB, free: 148.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003112/2.808, allocations: 379.1 kB / 1.107 GB, free: 148.7 MB / 0.5763 GB 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.01015/2.818, allocations: 4.521 MB / 1.111 GB, free: 146.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005889/2.824, allocations: 1.22 MB / 1.112 GB, free: 146.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1104/2.934, allocations: 31.72 MB / 1.143 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/2.935, allocations: 47.75 kB / 1.143 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/2.935, allocations: 0 / 1.143 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001161/2.935, allocations: 19.92 kB / 1.144 GB, free: 125.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.128/3.063, allocations: 46.4 MB / 1.189 GB, free: 79.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/3.063, allocations: 0 / 1.189 GB, free: 79.54 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/3.064, allocations: 447.4 kB / 1.189 GB, free: 79.11 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02357/3.088, allocations: 15.46 MB / 1.204 GB, free: 63.69 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001694/3.09, allocations: 115.9 kB / 1.204 GB, free: 63.57 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5565/3.646, allocations: 115 MB / 1.317 GB, free: 147 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/3.646, allocations: 0 / 1.317 GB, free: 147 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09853/3.745, allocations: 30.87 MB / 1.347 GB, free: 139.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01006/3.755, allocations: 2.714 MB / 1.35 GB, free: 136.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005918/3.761, allocations: 77.73 kB / 1.35 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01277/3.774, allocations: 1.4 MB / 1.351 GB, free: 135.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/3.775, allocations: 272.1 kB / 1.351 GB, free: 135.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001557/3.776, allocations: 143.9 kB / 1.351 GB, free: 135 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02217/3.798, allocations: 10.49 MB / 1.362 GB, free: 124.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.8e-07/3.798, allocations: 0 / 1.362 GB, free: 124.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0211/3.819, allocations: 3.725 MB / 1.365 GB, free: 120.9 MB / 0.5763 GB 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.001795/3.821, allocations: 194.3 kB / 1.365 GB, free: 120.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0777/3.899, allocations: 32.65 MB / 1.397 GB, free: 87.35 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/3.899, allocations: 7.938 kB / 1.397 GB, free: 87.34 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.05236/3.951, allocations: 17.12 MB / 1.414 GB, free: 70.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02049/3.972, allocations: 3.117 MB / 1.417 GB, free: 67.16 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05778/4.03, allocations: 30.08 MB / 1.447 GB, free: 37.17 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009426/4.039, allocations: 8.686 MB / 1.455 GB, free: 28.44 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01014/4.049, allocations: 3.775 MB / 1.459 GB, free: 24.66 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/4.052, allocations: 0.636 MB / 1.459 GB, free: 24.02 MB / 0.5763 GB Notification: Performance of SimCode: time 1.393e-06/4.052, allocations: 0 / 1.459 GB, free: 24.02 MB / 0.5763 GB Notification: Performance of Templates: time 0.9111/4.963, allocations: 278.7 MB / 1.731 GB, free: 174.7 MB / 0.6076 GB " [Timeout remaining time 655] 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 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 19.269072796218097]