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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) 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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.4 MB / 234.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009609, allocations: 91.75 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02617/0.02617, allocations: 5.282 MB / 341.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.173e-05, allocations: 0 / 403.8 MB, free: 62.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 51.6 MB / 455.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4837, allocations: 85.17 MB / 0.5279 GB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.484, allocations: 65.78 kB / 0.528 GB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.076/2.56, allocations: 478.5 MB / 0.9953 GB, free: 59.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.282e-06/2.56, allocations: 2.531 kB / 0.9953 GB, free: 59.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002369/2.562, allocations: 242 kB / 0.9955 GB, free: 59.27 MB / 458.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.06179/2.624, allocations: 17.45 MB / 1.013 GB, free: 55.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/2.624, allocations: 8.375 kB / 1.013 GB, free: 55.04 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00682/2.631, allocations: 1.119 MB / 1.014 GB, free: 54.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009761/2.64, allocations: 1.459 MB / 1.015 GB, free: 54.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02962/2.67, allocations: 11.42 MB / 1.026 GB, free: 52.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000811/2.671, allocations: 0.6257 MB / 1.027 GB, free: 52.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006066/2.677, allocations: 0.8166 MB / 1.028 GB, free: 52.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04885/2.726, allocations: 19.37 MB / 1.047 GB, free: 50.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003619/2.726, allocations: 22.66 kB / 1.047 GB, free: 50.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004951/2.731, allocations: 346.5 kB / 1.047 GB, free: 50.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002739/2.732, allocations: 212.7 kB / 1.047 GB, free: 50.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0574/2.789, allocations: 32.25 MB / 1.079 GB, free: 41.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7643/3.553, allocations: 75.86 MB / 1.153 GB, free: 66.06 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04318/3.596, allocations: 25.42 MB / 1.178 GB, free: 61.39 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01524/3.612, allocations: 10.32 MB / 1.188 GB, free: 61.32 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/3.612, allocations: 82.81 kB / 1.188 GB, free: 61.32 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/3.612, allocations: 97.05 kB / 1.188 GB, free: 61.27 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 6.823e-06/3.612, allocations: 0 / 1.188 GB, free: 61.27 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.2096/3.822, allocations: 67.67 MB / 1.254 GB, free: 52.88 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/3.822, allocations: 115.6 kB / 1.254 GB, free: 52.81 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03898/3.861, allocations: 18.18 MB / 1.272 GB, free: 39.76 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003875/3.865, allocations: 137.7 kB / 1.272 GB, free: 39.62 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007769/3.873, allocations: 5.877 MB / 1.278 GB, free: 34.61 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005815/3.879, allocations: 2.051 MB / 1.28 GB, free: 32.83 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004415/3.883, allocations: 200 kB / 1.28 GB, free: 32.64 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006918/3.884, allocations: 0.7077 MB / 1.28 GB, free: 31.92 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02042/3.904, allocations: 12.55 MB / 1.293 GB, free: 19.36 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02468/3.929, allocations: 13.75 MB / 1.306 GB, free: 5.301 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02868/3.958, allocations: 13.34 MB / 1.319 GB, free: 7.934 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-05/3.958, allocations: 4 kB / 1.319 GB, free: 7.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.602/4.56, allocations: 84.86 MB / 1.402 GB, free: 74.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/4.56, allocations: 15.03 kB / 1.402 GB, free: 74.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.697e-05/4.56, allocations: 29.41 kB / 1.402 GB, free: 74.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2041/4.764, allocations: 80.48 MB / 1.481 GB, free: 20.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009706/4.774, allocations: 1.966 MB / 1.483 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501/6.275, allocations: 306.3 MB / 1.782 GB, free: 60.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03743/6.312, allocations: 4.666 MB / 1.786 GB, free: 59.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009119/6.321, allocations: 0.5408 MB / 1.787 GB, free: 59.5 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (936): * Single equations (assignments): 887 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {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: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 248} Notification: Performance of prepare postOptimizeDAE: time 0.01071/6.332, allocations: 0.5207 MB / 1.787 GB, free: 59.16 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01049/6.343, allocations: 1.2 MB / 1.789 GB, free: 58.51 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2375/6.58, allocations: 68.97 MB / 1.856 GB, free: 12.76 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-05/6.58, allocations: 56 kB / 1.856 GB, free: 12.71 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/6.58, allocations: 1.641 kB / 1.856 GB, free: 12.71 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002112/6.581, allocations: 27.89 kB / 1.856 GB, free: 12.68 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7186/7.299, allocations: 92.57 MB / 1.946 GB, free: 65.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.719e-05/7.299, allocations: 0 / 1.946 GB, free: 65.53 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/7.302, allocations: 0.5285 MB / 1.947 GB, free: 65.51 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1822/7.484, allocations: 65.3 MB / 2.011 GB, free: 40.37 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004052/7.488, allocations: 280.4 kB / 2.011 GB, free: 40.16 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9872/8.476, allocations: 210.3 MB / 2.216 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/8.476, allocations: 0 / 2.216 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.651/9.127, allocations: 67.85 MB / 2.283 GB, free: 72.48 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02144/9.148, allocations: 4.674 MB / 2.287 GB, free: 72.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01359/9.162, allocations: 98.89 kB / 2.287 GB, free: 72.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.024/9.186, allocations: 2.641 MB / 2.29 GB, free: 71.74 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002764/9.189, allocations: 442.5 kB / 2.29 GB, free: 71.73 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004266/9.193, allocations: 317.1 kB / 2.291 GB, free: 71.73 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.03827/9.231, allocations: 13.52 MB / 2.304 GB, free: 71.36 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.423e-06/9.231, allocations: 0 / 2.304 GB, free: 71.36 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.04885/9.28, allocations: 5.685 MB / 2.309 GB, free: 71.25 MB / 0.4949 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {51 247} Notification: Performance of Backend phase and start with SimCode phase: time 0.2389/9.519, allocations: 68.61 MB / 2.376 GB, free: 36.39 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.5004/10.02, allocations: 51.19 MB / 2.426 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/10.02, allocations: 0.9688 kB / 2.426 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.09626/10.12, allocations: 29.42 MB / 2.455 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0279/10.14, allocations: 2.96 MB / 2.458 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1189/10.26, allocations: 33.55 MB / 2.491 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02331/10.29, allocations: 8.984 MB / 2.499 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01894/10.31, allocations: 3.69 MB / 2.503 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.018/10.32, allocations: 5.167 MB / 2.508 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of SimCode: time 2.835e-06/10.32, allocations: 0 / 2.508 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.919/12.24, allocations: 0.5409 GB / 3.049 GB, free: 68.34 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/12.24, allocations: 176.8 kB / 3.049 GB, free: 68.11 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.22/41.46, allocations: 1.281 kB / 3.049 GB, free: 68.11 MB / 0.5262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)