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.001908/0.001908, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002464/0.002464, allocations: 193.3 kB / 22.17 MB, free: 5.652 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.451/1.451, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.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.02928/0.02928, allocations: 5.469 MB / 311.6 MB, free: 3.406 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.001953/0.001953, allocations: 71.89 kB / 437.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1128, allocations: 53.39 MB / 491.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006744/0.1196, allocations: 4.436 MB / 495.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.1232, allocations: 1.601 MB / 497.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.1239, allocations: 11.94 kB / 497.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.125, allocations: 316.9 kB / 497.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.126, allocations: 242.4 kB / 497.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.1266, allocations: 227.5 kB / 498.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.255/0.3816, allocations: 25.54 MB / 0.5114 GB, free: 9.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006081/0.3877, allocations: 3.694 MB / 0.515 GB, free: 8.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/0.4001, allocations: 9.353 MB / 0.5241 GB, free: 4.793 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01723/0.4174, allocations: 10.88 MB / 0.5347 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006291/0.4237, allocations: 2.709 MB / 0.5374 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008764/0.4324, allocations: 2.715 MB / 0.54 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009181/0.4416, allocations: 5.12 MB / 0.545 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01743/0.459, allocations: 9.537 MB / 0.5544 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03223/0.4913, allocations: 29.01 MB / 0.5827 GB, free: 2.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4913, allocations: 0 / 0.5827 GB, free: 2.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4913, allocations: 0 / 0.5827 GB, free: 2.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006696/0.4919, allocations: 0 / 0.5827 GB, free: 2.008 MB / 414.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.1089/0.6009, allocations: 31.83 MB / 0.6138 GB, free: 2.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6009, allocations: 11.97 kB / 0.6138 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007655/0.6086, allocations: 1.526 MB / 0.6153 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06132/0.6699, allocations: 19.05 MB / 0.6339 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000797/0.6707, allocations: 0.6217 MB / 0.6345 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005918/0.6766, allocations: 0.8242 MB / 0.6353 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04598/0.7226, allocations: 15.68 MB / 0.6506 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.7228, allocations: 23.75 kB / 0.6506 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002939/0.7258, allocations: 351.9 kB / 0.651 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.726, allocations: 212 kB / 0.6512 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0446/0.7706, allocations: 17.59 MB / 0.6683 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6087/1.379, allocations: 57.32 MB / 0.7243 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03417/1.413, allocations: 20.96 MB / 0.7448 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01226/1.426, allocations: 7.153 MB / 0.7518 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/1.426, allocations: 69.55 kB / 0.7518 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/1.426, allocations: 82.56 kB / 0.7519 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=448): time 7.114e-06/1.426, allocations: 0 / 0.7519 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=448): time 0.1033/1.529, allocations: 36.28 MB / 0.7873 GB, free: 99.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.529, allocations: 94.92 kB / 0.7874 GB, free: 99.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02636/1.556, allocations: 15.2 MB / 0.8023 GB, free: 84.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001882/1.558, allocations: 113.7 kB / 0.8024 GB, free: 84.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006352/1.564, allocations: 6.205 MB / 0.8084 GB, free: 79.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002875/1.567, allocations: 1.653 MB / 0.8101 GB, free: 77.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01023/1.577, allocations: 2.113 MB / 0.8121 GB, free: 75.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/1.577, allocations: 301.1 kB / 0.8124 GB, free: 75.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01544/1.593, allocations: 7.643 MB / 0.8199 GB, free: 67.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0164/1.609, allocations: 8.838 MB / 0.8285 GB, free: 58.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0281/1.637, allocations: 14.4 MB / 0.8426 GB, free: 43.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.211e-05/1.637, allocations: 8 kB / 0.8426 GB, free: 43.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1192/1.756, allocations: 39.89 MB / 0.8815 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/1.756, allocations: 16.88 kB / 0.8815 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/1.756, allocations: 30 kB / 0.8816 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05577/1.812, allocations: 25.7 MB / 0.9067 GB, free: 9.777 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007834/1.82, allocations: 1.494 MB / 0.9081 GB, free: 8.281 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6961/2.516, allocations: 202.8 MB / 1.106 GB, free: 43.56 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02182/2.538, allocations: 2.596 MB / 1.109 GB, free: 41.55 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003511/2.541, allocations: 375.7 kB / 1.109 GB, free: 41.18 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.01349/2.555, allocations: 4.519 MB / 1.113 GB, free: 36.66 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0055/2.56, allocations: 1.217 MB / 1.115 GB, free: 35.56 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09838/2.659, allocations: 31.72 MB / 1.146 GB, free: 3.805 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.203e-05/2.659, allocations: 47.98 kB / 1.146 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.659, allocations: 0 / 1.146 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/2.659, allocations: 19.92 kB / 1.146 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3951/3.054, allocations: 46.4 MB / 1.191 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/3.054, allocations: 3.969 kB / 1.191 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/3.056, allocations: 456.6 kB / 1.191 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02656/3.083, allocations: 15.46 MB / 1.207 GB, free: 160 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001797/3.084, allocations: 114.8 kB / 1.207 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.315/3.399, allocations: 115 MB / 1.319 GB, free: 49.11 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/3.399, allocations: 0 / 1.319 GB, free: 49.11 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09308/3.492, allocations: 30.86 MB / 1.349 GB, free: 18.67 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0107/3.503, allocations: 2.71 MB / 1.352 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005225/3.508, allocations: 82.27 kB / 1.352 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01329/3.522, allocations: 1.393 MB / 1.353 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/3.523, allocations: 276.1 kB / 1.353 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001373/3.524, allocations: 139.9 kB / 1.354 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0208/3.545, allocations: 10.5 MB / 1.364 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.71e-07/3.545, allocations: 0 / 1.364 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.3354/3.88, allocations: 3.723 MB / 1.367 GB, free: 162.1 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.001965/3.882, allocations: 195.2 kB / 1.368 GB, free: 162 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.08925/3.972, allocations: 32.66 MB / 1.4 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/3.972, allocations: 0 / 1.4 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.05489/4.027, allocations: 17.11 MB / 1.416 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01955/4.046, allocations: 3.119 MB / 1.419 GB, free: 151.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05843/4.104, allocations: 30.09 MB / 1.449 GB, free: 132.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/4.115, allocations: 8.687 MB / 1.457 GB, free: 126.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01065/4.125, allocations: 3.779 MB / 1.461 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/4.128, allocations: 0.6282 MB / 1.461 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.072e-06/4.128, allocations: 0 / 1.461 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.6594/4.787, allocations: 279 MB / 1.734 GB, free: 61.76 MB / 0.5919 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 -s gbode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 19.725672526285052] Failed to read output from testmodel.py, exit status != 0: 4.79620918398723 4.805596122 4.311904983 Calling exit ...