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.0007772/0.0007772, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007523/0.0007523, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8505/0.8505, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.01663/0.01663, allocations: 4.223 MB / 264.2 MB, free: 9.133 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.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.432e-06/1.432e-06, allocations: 0 / 394.5 MB, free: 2.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.482e-05, allocations: 2.281 kB / 394.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.003617/0.003642, allocations: 4.004 MB / 398.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.005181, allocations: 1.546 MB / 400.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.005358, allocations: 11.94 kB / 400.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.006174, allocations: 289.3 kB / 400.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.006524, allocations: 270.1 kB / 400.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.006794, allocations: 219.5 kB / 400.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1445/0.1512, allocations: 26.4 MB / 427.3 MB, free: 19.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/0.1561, allocations: 3.773 MB / 431 MB, free: 16.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01762/0.1737, allocations: 13.98 MB / 445 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01448/0.1882, allocations: 11.63 MB / 456.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008297/0.1965, allocations: 2.703 MB / 459.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007665/0.2042, allocations: 2.724 MB / 462.1 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004951/0.2091, allocations: 5.189 MB / 467.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01392/0.223, allocations: 6.888 MB / 474.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0249/0.2479, allocations: 30.71 MB / 0.493 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.248, allocations: 4 kB / 0.493 GB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.248, allocations: 0 / 0.493 GB, free: 15.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008133/0.2488, allocations: 0 / 0.493 GB, free: 15.69 MB / 394.7 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.06104/0.3098, allocations: 31.37 MB / 0.5237 GB, free: 180 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3099, allocations: 8.031 kB / 0.5237 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/0.3127, allocations: 1.541 MB / 0.5252 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02942/0.3421, allocations: 18.77 MB / 0.5435 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/0.3425, allocations: 0.6277 MB / 0.5441 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/0.3446, allocations: 0.8156 MB / 0.5449 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.3638, allocations: 15.72 MB / 0.5603 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.364, allocations: 21.12 kB / 0.5603 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009895/0.3649, allocations: 346.8 kB / 0.5606 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.3651, allocations: 215.9 kB / 0.5608 GB, free: 9.719 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02203/0.3871, allocations: 17.57 MB / 0.578 GB, free: 8.148 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3241/0.7112, allocations: 52.44 MB / 0.6292 GB, free: 106.8 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/0.7283, allocations: 17.33 MB / 0.6461 GB, free: 97.59 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00651/0.7348, allocations: 7.131 MB / 0.6531 GB, free: 90.78 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.735, allocations: 63.48 kB / 0.6531 GB, free: 90.72 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.735, allocations: 78.08 kB / 0.6532 GB, free: 90.63 MB / 474.8 MB Notification: Performance of pre-optimization done (n=448): time 6.111e-06/0.735, allocations: 0 / 0.6532 GB, free: 90.63 MB / 474.8 MB Notification: Performance of matching and sorting (n=448): time 0.02341/0.7584, allocations: 21.93 MB / 0.6746 GB, free: 69.29 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.7585, allocations: 94.92 kB / 0.6747 GB, free: 69.19 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/0.7725, allocations: 13.61 MB / 0.688 GB, free: 55.91 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001372/0.7738, allocations: 109.7 kB / 0.6881 GB, free: 55.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002749/0.7766, allocations: 6.274 MB / 0.6942 GB, free: 50.08 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/0.7783, allocations: 1.631 MB / 0.6958 GB, free: 48.67 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003034/0.7813, allocations: 2.117 MB / 0.6979 GB, free: 46.54 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.33e-05/0.7813, allocations: 305.1 kB / 0.6982 GB, free: 46.24 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007995/0.7893, allocations: 7.653 MB / 0.7057 GB, free: 38.57 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009011/0.7983, allocations: 8.838 MB / 0.7143 GB, free: 29.39 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/0.8142, allocations: 14.38 MB / 0.7284 GB, free: 14.61 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/0.8142, allocations: 8 kB / 0.7284 GB, free: 14.6 MB / 474.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.03261/0.8468, allocations: 25.57 MB / 0.7533 GB, free: 4.781 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.8469, allocations: 16 kB / 0.7533 GB, free: 4.766 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.8469, allocations: 24 kB / 0.7534 GB, free: 4.742 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1836/1.031, allocations: 26.1 MB / 0.7789 GB, free: 158.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005209/1.036, allocations: 1.494 MB / 0.7803 GB, free: 158.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0654/1.101, allocations: 102.5 MB / 0.8804 GB, free: 75.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009969/1.111, allocations: 2.355 MB / 0.8827 GB, free: 73.42 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.112, allocations: 383.7 kB / 0.883 GB, free: 73.04 MB / 0.4949 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.006219/1.119, allocations: 4.562 MB / 0.8875 GB, free: 68.48 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/1.121, allocations: 1.112 MB / 0.8886 GB, free: 67.62 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/1.14, allocations: 17.44 MB / 0.9056 GB, free: 50.14 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.14, allocations: 40 kB / 0.9056 GB, free: 50.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.14, allocations: 4 kB / 0.9057 GB, free: 50.09 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.573e-05/1.14, allocations: 23.91 kB / 0.9057 GB, free: 50.07 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03818/1.178, allocations: 29.68 MB / 0.9347 GB, free: 20.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.178, allocations: 3.938 kB / 0.9347 GB, free: 20.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000844/1.179, allocations: 455.4 kB / 0.9351 GB, free: 20.01 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01335/1.192, allocations: 15.8 MB / 0.9505 GB, free: 4.188 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005076/1.193, allocations: 115.9 kB / 0.9506 GB, free: 4.074 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2044/1.397, allocations: 25.19 MB / 0.9752 GB, free: 165 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.397, allocations: 0 / 0.9752 GB, free: 165 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02183/1.419, allocations: 16.69 MB / 0.9915 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005726/1.424, allocations: 2.661 MB / 0.9941 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/1.426, allocations: 71.44 kB / 0.9942 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00488/1.431, allocations: 1.315 MB / 0.9955 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/1.432, allocations: 232.5 kB / 0.9957 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002962/1.432, allocations: 143 kB / 0.9958 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0102/1.442, allocations: 9.277 MB / 1.005 GB, free: 157 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/1.442, allocations: 3.938 kB / 1.005 GB, free: 157 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007293/1.449, allocations: 3.104 MB / 1.008 GB, free: 156.5 MB / 0.5105 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.0005333/1.45, allocations: 197.2 kB / 1.008 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03387/1.484, allocations: 30.36 MB / 1.038 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.484, allocations: 448 / 1.038 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02177/1.506, allocations: 15.05 MB / 1.052 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007624/1.513, allocations: 2.62 MB / 1.055 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03188/1.545, allocations: 29.84 MB / 1.084 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004465/1.55, allocations: 8.18 MB / 1.092 GB, free: 71.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/1.551, allocations: 0.6019 MB / 1.093 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/1.551, allocations: 0 / 1.093 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of Templates: time 2.34/3.891, allocations: 1.992 GB / 3.084 GB, free: 37.07 MB / 0.5418 GB " [Timeout remaining time 656] 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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.004339513368905] Failed to read output from testmodel.py, exit status != 0: 3.897225991822779 3.90323428 3.653856768 Calling exit ...