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.005928/0.005928, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.373/1.373, allocations: 223.2 MB / 239 MB, free: 1.762 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008732/0.0008731, allocations: 100.5 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02453/0.02453, allocations: 5.393 MB / 346.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 10.72 kB / 412.2 MB, free: 90.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08451/0.08484, allocations: 51.62 MB / 463.8 MB, free: 44.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4111, allocations: 85.22 MB / 0.5362 GB, free: 19.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4114, allocations: 70.88 kB / 0.5363 GB, free: 19.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748/2.159, allocations: 477.8 MB / 1.003 GB, free: 44.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.159, allocations: 0 / 1.003 GB, free: 44.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002536/2.162, allocations: 240 kB / 1.003 GB, free: 44.45 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.07/2.232, allocations: 20.67 MB / 1.023 GB, free: 23.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/2.232, allocations: 12.03 kB / 1.023 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007539/2.239, allocations: 1.118 MB / 1.024 GB, free: 22.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008531/2.248, allocations: 1.447 MB / 1.026 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03088/2.279, allocations: 11.51 MB / 1.037 GB, free: 9.445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/2.28, allocations: 0.6256 MB / 1.038 GB, free: 8.816 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007158/2.287, allocations: 0.8125 MB / 1.038 GB, free: 8.004 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.528/2.815, allocations: 22.7 MB / 1.061 GB, free: 51.61 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000385/2.815, allocations: 24.94 kB / 1.061 GB, free: 51.61 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00542/2.821, allocations: 347.3 kB / 1.061 GB, free: 51.61 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/2.821, allocations: 211.1 kB / 1.061 GB, free: 51.61 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.083/2.904, allocations: 39.05 MB / 1.099 GB, free: 51.51 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1564/3.06, allocations: 75.85 MB / 1.173 GB, free: 16.84 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04142/3.102, allocations: 28.95 MB / 1.202 GB, free: 11.46 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004615/3.102, allocations: 82.94 kB / 1.202 GB, free: 11.39 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.825e-05/3.102, allocations: 91.2 kB / 1.202 GB, free: 11.29 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 6.753e-06/3.102, allocations: 0 / 1.202 GB, free: 11.29 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.5289/3.631, allocations: 82.81 MB / 1.283 GB, free: 77.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/3.631, allocations: 113.5 kB / 1.283 GB, free: 77.48 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04576/3.677, allocations: 18.34 MB / 1.301 GB, free: 76.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.004055/3.681, allocations: 132.8 kB / 1.301 GB, free: 76.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009657/3.691, allocations: 5.882 MB / 1.307 GB, free: 76.19 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005413/3.696, allocations: 2.049 MB / 1.309 GB, free: 75.17 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00565/3.702, allocations: 200.2 kB / 1.309 GB, free: 75.17 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00139/3.704, allocations: 0.7186 MB / 1.309 GB, free: 74.85 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02887/3.732, allocations: 14.36 MB / 1.323 GB, free: 74.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02989/3.762, allocations: 15.56 MB / 1.339 GB, free: 68.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02933/3.792, allocations: 15.13 MB / 1.353 GB, free: 58.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-05/3.792, allocations: 4 kB / 1.353 GB, free: 58.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.6222/4.414, allocations: 90.17 MB / 1.441 GB, free: 66.26 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/4.414, allocations: 14.69 kB / 1.442 GB, free: 66.26 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.377e-05/4.414, allocations: 21.31 kB / 1.442 GB, free: 66.26 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2173/4.632, allocations: 84.28 MB / 1.524 GB, free: 47.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009586/4.641, allocations: 1.964 MB / 1.526 GB, free: 45.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284/5.926, allocations: 340.7 MB / 1.858 GB, free: 61.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03154/5.957, allocations: 4.67 MB / 1.863 GB, free: 60.94 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006446/5.964, allocations: 0.5414 MB / 1.864 GB, free: 60.86 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 () * Number of clocked 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.01657/5.98, allocations: 4.569 MB / 1.868 GB, free: 59.08 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008237/5.989, allocations: 1.204 MB / 1.869 GB, free: 58.43 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.243/6.232, allocations: 74.17 MB / 1.942 GB, free: 9.184 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.88e-05/6.232, allocations: 56 kB / 1.942 GB, free: 9.129 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/6.232, allocations: 0 / 1.942 GB, free: 9.129 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001761/6.232, allocations: 27.89 kB / 1.942 GB, free: 9.102 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5718/6.804, allocations: 97.73 MB / 2.037 GB, free: 62.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.268e-05/6.804, allocations: 0 / 2.037 GB, free: 62.19 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/6.806, allocations: 0.5345 MB / 2.038 GB, free: 62.17 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1764/6.983, allocations: 69.08 MB / 2.105 GB, free: 29.42 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003966/6.987, allocations: 285 kB / 2.105 GB, free: 29.22 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202/8.189, allocations: 242.3 MB / 2.342 GB, free: 71.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/8.189, allocations: 0 / 2.342 GB, free: 71.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2204/8.409, allocations: 73.05 MB / 2.413 GB, free: 66.09 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01768/8.427, allocations: 4.673 MB / 2.418 GB, free: 65.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008454/8.435, allocations: 93.81 kB / 2.418 GB, free: 65.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01965/8.455, allocations: 2.65 MB / 2.421 GB, free: 64.84 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002252/8.457, allocations: 443.5 kB / 2.421 GB, free: 64.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003368/8.461, allocations: 317.8 kB / 2.421 GB, free: 64.82 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.03162/8.492, allocations: 13.69 MB / 2.435 GB, free: 60.83 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.4e-07/8.492, allocations: 3.969 kB / 2.435 GB, free: 60.83 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03975/8.532, allocations: 5.684 MB / 2.44 GB, free: 55.5 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 () * Number of clocked 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.5203/9.053, allocations: 73.8 MB / 2.512 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.137/9.19, allocations: 54.93 MB / 2.566 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/9.19, allocations: 0 / 2.566 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.094/9.284, allocations: 31.26 MB / 2.596 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02051/9.304, allocations: 2.967 MB / 2.599 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1192/9.424, allocations: 68.37 MB / 2.666 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01668/9.44, allocations: 8.99 MB / 2.675 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01451/9.455, allocations: 3.692 MB / 2.679 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01463/9.469, allocations: 5.17 MB / 2.684 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/9.47, allocations: 0 / 2.684 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.497/10.97, allocations: 0.5392 GB / 3.223 GB, free: 35.5 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/10.97, allocations: 196.9 kB / 3.223 GB, free: 35.27 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.46/39.42, allocations: 0 / 3.223 GB, free: 35.27 MB / 0.5418 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)