Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.001282/0.001282, allocations: 174.7 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.341/1.341, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008056/0.0008056, allocations: 89.33 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02488/0.02488, allocations: 5.289 MB / 341.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.07e-05/4.106e-05, allocations: 0 / 403.8 MB, free: 62.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 51.61 MB / 455.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.494, allocations: 82.94 MB / 0.5257 GB, free: 7.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.4942, allocations: 67.66 kB / 0.5258 GB, free: 7.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0359/0.5301, allocations: 12.46 MB / 0.538 GB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5302, allocations: 3.938 kB / 0.538 GB, free: 13.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.5302, allocations: 15.98 kB / 0.538 GB, free: 13.17 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001182/0.5314, allocations: 0.6273 MB / 0.5386 GB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.5314, allocations: 12.02 kB / 0.5386 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.5315, allocations: 56.86 kB / 0.5387 GB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.5316, allocations: 39.53 kB / 0.5387 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.5321, allocations: 343.9 kB / 0.539 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5321, allocations: 22.38 kB / 0.5391 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.5322, allocations: 22.62 kB / 0.5391 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.5327, allocations: 302.9 kB / 0.5394 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5328, allocations: 4 kB / 0.5394 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.5328, allocations: 11 kB / 0.5394 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.5328, allocations: 11.98 kB / 0.5394 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.5334, allocations: 303.9 kB / 0.5397 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.5357, allocations: 1.424 MB / 0.5411 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.5362, allocations: 294.3 kB / 0.5414 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.5364, allocations: 121.4 kB / 0.5415 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.5365, allocations: 0 / 0.5415 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5365, allocations: 37.56 kB / 0.5415 GB, free: 10.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.5365, allocations: 0 / 0.5415 GB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.002816/0.5394, allocations: 0.5429 MB / 0.542 GB, free: 9.586 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.5394, allocations: 51.41 kB / 0.5421 GB, free: 9.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.5399, allocations: 392.8 kB / 0.5425 GB, free: 9.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5399, allocations: 25.7 kB / 0.5425 GB, free: 9.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.5401, allocations: 213.9 kB / 0.5427 GB, free: 9.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.5401, allocations: 49.92 kB / 0.5427 GB, free: 8.996 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.5402, allocations: 7.438 kB / 0.5427 GB, free: 8.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5403, allocations: 345 kB / 0.5431 GB, free: 8.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.5405, allocations: 105.9 kB / 0.5432 GB, free: 8.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.5407, allocations: 148.9 kB / 0.5433 GB, free: 8.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.541, allocations: 119.8 kB / 0.5434 GB, free: 8.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.541, allocations: 0 / 0.5434 GB, free: 8.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003121/0.5441, allocations: 0.7164 MB / 0.5441 GB, free: 7.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5441, allocations: 8 kB / 0.5441 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5441, allocations: 0 / 0.5441 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.5468, allocations: 0.55 MB / 0.5447 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.5471, allocations: 43.91 kB / 0.5447 GB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/0.5536, allocations: 3.98 MB / 0.5486 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.5541, allocations: 51.16 kB / 0.5486 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.5541, allocations: 11.67 kB / 0.5487 GB, free: 3.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.5543, allocations: 120.7 kB / 0.5488 GB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.5543, allocations: 31.72 kB / 0.5488 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.263e-05/0.5544, allocations: 38.66 kB / 0.5488 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5545, allocations: 4 kB / 0.5488 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5545, allocations: 3.953 kB / 0.5489 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5545, allocations: 0 / 0.5489 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.5578, allocations: 1.076 MB / 0.5499 GB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5578, allocations: 4 kB / 0.5499 GB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5579, allocations: 19.98 kB / 0.5499 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.56, allocations: 474.3 kB / 0.5504 GB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.5601, allocations: 11.11 kB / 0.5504 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/0.5646, allocations: 2.294 MB / 0.5526 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5646, allocations: 0 / 0.5526 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.5673, allocations: 0.6564 MB / 0.5533 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.5675, allocations: 146.3 kB / 0.5534 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.5676, allocations: 3.812 kB / 0.5534 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.5679, allocations: 31.91 kB / 0.5534 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.5679, allocations: 11.8 kB / 0.5535 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.568, allocations: 15.91 kB / 0.5535 GB, free: 15.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003372/0.5683, allocations: 300.4 kB / 0.5538 GB, free: 14.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5683, allocations: 0 / 0.5538 GB, free: 14.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005561/0.5689, allocations: 133.8 kB / 0.5539 GB, free: 14.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003017/0.5719, allocations: 1.29 MB / 0.5551 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009312/0.5729, allocations: 0.5047 MB / 0.5556 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5729, allocations: 4.188 kB / 0.5556 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.5732, allocations: 233.8 kB / 0.5559 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.5737, allocations: 66.8 kB / 0.5559 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5748, allocations: 477.2 kB / 0.5564 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.5752, allocations: 0.7914 MB / 0.5572 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.5753, allocations: 30.97 kB / 0.5572 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5755, allocations: 109.6 kB / 0.5573 GB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5755, allocations: 0 / 0.5573 GB, free: 11.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.6016, allocations: 12.06 MB / 0.5691 GB, free: 15.69 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.6018, allocations: 170.2 kB / 0.5692 GB, free: 15.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.201, allocations: 0 / 0.5692 GB, free: 15.46 MB / 394.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)