Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.001981/0.001981, allocations: 174.6 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.346/1.346, 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.0008549/0.0008549, allocations: 91.23 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.0248/0.0248, allocations: 5.286 MB / 341.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.252e-05, allocations: 0 / 403.8 MB, free: 62.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.09953, allocations: 51.6 MB / 455.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4512, allocations: 85.04 MB / 0.5278 GB, free: 5.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.4515, allocations: 69.27 kB / 0.5279 GB, free: 5.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093/2.544, allocations: 478.3 MB / 0.995 GB, free: 59.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.945e-06/2.545, allocations: 0 / 0.995 GB, free: 59.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.004573/2.549, allocations: 240.1 kB / 0.9952 GB, free: 59.09 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.07065/2.62, allocations: 17.45 MB / 1.012 GB, free: 54.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.62, allocations: 11.22 kB / 1.012 GB, free: 54.89 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009286/2.629, allocations: 1.119 MB / 1.013 GB, free: 54.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/2.642, allocations: 1.449 MB / 1.015 GB, free: 54.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03695/2.679, allocations: 11.41 MB / 1.026 GB, free: 52.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008405/2.679, allocations: 0.6315 MB / 1.027 GB, free: 52.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00803/2.687, allocations: 0.8171 MB / 1.027 GB, free: 52.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05868/2.746, allocations: 19.37 MB / 1.046 GB, free: 50.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006158/2.747, allocations: 23.53 kB / 1.046 GB, free: 50.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007135/2.754, allocations: 345.3 kB / 1.047 GB, free: 50.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003184/2.754, allocations: 215.7 kB / 1.047 GB, free: 50.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06828/2.823, allocations: 32.25 MB / 1.078 GB, free: 41.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7509/3.574, allocations: 75.85 MB / 1.152 GB, free: 65.39 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04201/3.616, allocations: 25.43 MB / 1.177 GB, free: 60.72 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01672/3.633, allocations: 10.32 MB / 1.187 GB, free: 60.65 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/3.633, allocations: 86.23 kB / 1.187 GB, free: 60.64 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.962e-05/3.633, allocations: 102.3 kB / 1.187 GB, free: 60.59 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 6.853e-06/3.633, allocations: 3.375 kB / 1.187 GB, free: 60.59 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.2249/3.858, allocations: 67.66 MB / 1.254 GB, free: 52.5 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/3.858, allocations: 115.7 kB / 1.254 GB, free: 52.42 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04786/3.906, allocations: 18.17 MB / 1.271 GB, free: 39.99 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003825/3.91, allocations: 133.7 kB / 1.272 GB, free: 39.86 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009681/3.919, allocations: 5.887 MB / 1.277 GB, free: 34.89 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00553/3.925, allocations: 2.043 MB / 1.279 GB, free: 33.32 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005643/3.931, allocations: 200 kB / 1.279 GB, free: 33.12 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001576/3.932, allocations: 0.7075 MB / 1.28 GB, free: 32.42 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02161/3.954, allocations: 12.56 MB / 1.292 GB, free: 19.85 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02298/3.977, allocations: 13.75 MB / 1.306 GB, free: 5.797 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02736/4.004, allocations: 13.34 MB / 1.319 GB, free: 8.434 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.019e-05/4.004, allocations: 8 kB / 1.319 GB, free: 8.426 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.6147/4.619, allocations: 84.86 MB / 1.402 GB, free: 73.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/4.619, allocations: 18.56 kB / 1.402 GB, free: 73.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/4.619, allocations: 21.78 kB / 1.402 GB, free: 73.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2078/4.827, allocations: 80.4 MB / 1.48 GB, free: 21.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/4.838, allocations: 1.966 MB / 1.482 GB, free: 19.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474/6.313, allocations: 306.3 MB / 1.781 GB, free: 60.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03329/6.346, allocations: 4.67 MB / 1.786 GB, free: 59.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006383/6.353, allocations: 0.5402 MB / 1.786 GB, free: 59.71 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.01043/6.363, allocations: 0.5173 MB / 1.787 GB, free: 59.37 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009602/6.373, allocations: 1.206 MB / 1.788 GB, free: 58.72 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.213/6.586, allocations: 68.96 MB / 1.855 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.139e-05/6.586, allocations: 56 kB / 1.855 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/6.586, allocations: 0 / 1.855 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002071/6.586, allocations: 27.89 kB / 1.856 GB, free: 14.74 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6891/7.275, allocations: 92.58 MB / 1.946 GB, free: 66.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-05/7.275, allocations: 2.297 kB / 1.946 GB, free: 66.28 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/7.278, allocations: 0.5257 MB / 1.946 GB, free: 66.26 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1758/7.454, allocations: 65.31 MB / 2.01 GB, free: 42.07 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004528/7.458, allocations: 291.1 kB / 2.011 GB, free: 41.86 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9991/8.457, allocations: 210.3 MB / 2.216 GB, free: 16.35 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/8.457, allocations: 0 / 2.216 GB, free: 16.35 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6409/9.098, allocations: 67.85 MB / 2.282 GB, free: 71.81 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01855/9.117, allocations: 4.67 MB / 2.287 GB, free: 71.47 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01217/9.129, allocations: 92.41 kB / 2.287 GB, free: 71.47 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02268/9.152, allocations: 2.653 MB / 2.289 GB, free: 71.04 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00199/9.154, allocations: 438.8 kB / 2.29 GB, free: 71.03 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003161/9.157, allocations: 316.7 kB / 2.29 GB, free: 71.03 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.03571/9.193, allocations: 13.51 MB / 2.303 GB, free: 70.65 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.41e-07/9.193, allocations: 0 / 2.303 GB, free: 70.65 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.04672/9.24, allocations: 5.687 MB / 2.309 GB, free: 70.54 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.2213/9.461, allocations: 68.6 MB / 2.376 GB, free: 38.45 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.4989/9.96, allocations: 51.19 MB / 2.426 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/9.96, allocations: 0 / 2.426 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.08968/10.05, allocations: 29.43 MB / 2.455 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02515/10.07, allocations: 2.964 MB / 2.457 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1208/10.2, allocations: 33.51 MB / 2.49 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02083/10.22, allocations: 8.987 MB / 2.499 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01668/10.23, allocations: 3.691 MB / 2.503 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01458/10.25, allocations: 5.174 MB / 2.508 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.744e-06/10.25, allocations: 0 / 2.508 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.864/12.11, allocations: 0.5409 GB / 3.049 GB, free: 65.88 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/12.11, allocations: 171.5 kB / 3.049 GB, free: 65.66 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.24/42.35, allocations: 0 / 3.049 GB, free: 65.66 MB / 0.5262 GB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)