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.005949/0.005949, allocations: 170.1 kB / 15.11 MB, free: 6.039 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.329/1.329, allocations: 223.2 MB / 239 MB, free: 1.797 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.001279/0.001279, allocations: 98.78 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02445/0.02445, allocations: 5.385 MB / 346.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8 kB / 412.2 MB, free: 90.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09334, allocations: 51.62 MB / 463.8 MB, free: 44.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4477, allocations: 82.98 MB / 0.534 GB, free: 19.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.448, allocations: 75.75 kB / 0.5341 GB, free: 19.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03291/0.4809, allocations: 12.46 MB / 0.5462 GB, free: 18.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4809, allocations: 0 / 0.5462 GB, free: 18.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.481, allocations: 3.875 kB / 0.5462 GB, free: 18.03 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.001318/0.4823, allocations: 0.705 MB / 0.5469 GB, free: 17.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4823, allocations: 15.81 kB / 0.5469 GB, free: 17.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.4824, allocations: 51.81 kB / 0.547 GB, free: 17.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.4825, allocations: 46.72 kB / 0.547 GB, free: 17.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.4829, allocations: 346.5 kB / 0.5474 GB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4829, allocations: 13.28 kB / 0.5474 GB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.483, allocations: 29.83 kB / 0.5474 GB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.4837, allocations: 361.1 kB / 0.5478 GB, free: 17.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4837, allocations: 0 / 0.5478 GB, free: 17.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.4838, allocations: 11.69 kB / 0.5478 GB, free: 17.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4838, allocations: 3.875 kB / 0.5478 GB, free: 17.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.4847, allocations: 430.4 kB / 0.5482 GB, free: 17.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.4868, allocations: 1.429 MB / 0.5496 GB, free: 16.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.4874, allocations: 351 kB / 0.5499 GB, free: 16.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.4875, allocations: 11.56 kB / 0.5499 GB, free: 16.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.4875, allocations: 36.67 kB / 0.55 GB, free: 16.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.4875, allocations: 0 / 0.55 GB, free: 16.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.006801/0.4943, allocations: 1.18 MB / 0.5511 GB, free: 16.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4944, allocations: 60.17 kB / 0.5512 GB, free: 16.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.495, allocations: 380.2 kB / 0.5515 GB, free: 15.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.495, allocations: 28.95 kB / 0.5516 GB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4952, allocations: 210.8 kB / 0.5518 GB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.4952, allocations: 53.98 kB / 0.5518 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.4953, allocations: 3.5 kB / 0.5518 GB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.4953, allocations: 348.8 kB / 0.5521 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.4957, allocations: 151.4 kB / 0.5523 GB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.496, allocations: 184.5 kB / 0.5525 GB, free: 15.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.4963, allocations: 153.1 kB / 0.5526 GB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4963, allocations: 0 / 0.5526 GB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003529/0.4998, allocations: 0.8108 MB / 0.5534 GB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4999, allocations: 5.469 kB / 0.5534 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4999, allocations: 1.219 kB / 0.5534 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.5028, allocations: 0.5899 MB / 0.554 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.5031, allocations: 55.56 kB / 0.554 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.5107, allocations: 4.211 MB / 0.5582 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.5112, allocations: 48.55 kB / 0.5582 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.5113, allocations: 15.83 kB / 0.5582 GB, free: 28.44 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.5115, allocations: 147.8 kB / 0.5584 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.5116, allocations: 39.19 kB / 0.5584 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.5117, allocations: 38.58 kB / 0.5584 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5117, allocations: 1.438 kB / 0.5584 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5117, allocations: 0 / 0.5584 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5117, allocations: 4.609 kB / 0.5584 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.5153, allocations: 1.115 MB / 0.5595 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.5153, allocations: 3.953 kB / 0.5595 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.5154, allocations: 22.75 kB / 0.5595 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/0.5177, allocations: 0.5176 MB / 0.5601 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.5178, allocations: 2.812 kB / 0.5601 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/0.523, allocations: 2.566 MB / 0.5626 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5231, allocations: 0 / 0.5626 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.526, allocations: 0.7184 MB / 0.5633 GB, free: 26.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.5263, allocations: 155.5 kB / 0.5634 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.5264, allocations: 0 / 0.5634 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.5267, allocations: 34.19 kB / 0.5634 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.5267, allocations: 11.48 kB / 0.5635 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.5268, allocations: 11.3 kB / 0.5635 GB, free: 26.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003764/0.5271, allocations: 306.9 kB / 0.5638 GB, free: 26.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5271, allocations: 0 / 0.5638 GB, free: 26.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006011/0.5278, allocations: 125 kB / 0.5639 GB, free: 26.21 MB / 378.7 MB 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 (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.003303/0.5311, allocations: 1.305 MB / 0.5652 GB, free: 25.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.5322, allocations: 0.5694 MB / 0.5657 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5323, allocations: 3.875 kB / 0.5657 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.5327, allocations: 262.9 kB / 0.566 GB, free: 25.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.5332, allocations: 83.02 kB / 0.566 GB, free: 25.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.5351, allocations: 1.451 MB / 0.5675 GB, free: 24.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.5356, allocations: 0.7926 MB / 0.5682 GB, free: 23.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.5357, allocations: 32.83 kB / 0.5683 GB, free: 23.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.5359, allocations: 115.2 kB / 0.5684 GB, free: 23.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5359, allocations: 0 / 0.5684 GB, free: 23.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.5637, allocations: 11.92 MB / 0.58 GB, free: 18.46 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.5639, allocations: 186 kB / 0.5802 GB, free: 18.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.854, allocations: 0 / 0.5802 GB, free: 18.23 MB / 378.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)