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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1299/0.1299, allocations: 5.382 MB / 295.8 MB, free: 2.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 55.91 kB / 361 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08893, allocations: 50.62 MB / 411.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004127/0.0931, allocations: 3.372 MB / 415 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.09465, allocations: 1.262 MB / 416.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.0948, allocations: 4 kB / 416.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.09528, allocations: 210.8 kB / 416.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.09559, allocations: 158.8 kB / 416.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.09577, allocations: 115.8 kB / 416.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.09622, allocations: 0.5526 MB / 417.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.09643, allocations: 128 kB / 417.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.09664, allocations: 207.3 kB / 417.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.0969, allocations: 251 kB / 417.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.09698, allocations: 52 kB / 417.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.09709, allocations: 63.98 kB / 418 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.09718, allocations: 107.6 kB / 418.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.09737, allocations: 230.9 kB / 418.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.09781, allocations: 0.5178 MB / 418.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09782, allocations: 4 kB / 418.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.09783, allocations: 0 / 418.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.09784, allocations: 0 / 418.8 MB, free: 4.133 MB / 350.1 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.001773/0.09962, allocations: 0.8102 MB / 419.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.09966, allocations: 8.031 kB / 419.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.09973, allocations: 58.73 kB / 419.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.09983, allocations: 48.38 kB / 419.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.1008, allocations: 488.1 kB / 420.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1008, allocations: 16.5 kB / 420.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.1009, allocations: 24 kB / 420.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.1014, allocations: 293.1 kB / 420.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1014, allocations: 7.938 kB / 420.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.1014, allocations: 8 kB / 420.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1015, allocations: 8 kB / 420.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.1021, allocations: 241.6 kB / 420.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.1041, allocations: 1.278 MB / 422.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.1046, allocations: 263.6 kB / 422.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.1049, allocations: 124.7 kB / 422.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1049, allocations: 0 / 422.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1049, allocations: 34.78 kB / 422.5 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.105, allocations: 0 / 422.5 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.1659/0.2708, allocations: 0.7269 MB / 423.2 MB, free: 48.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.2709, allocations: 54.61 kB / 423.3 MB, free: 48.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.2714, allocations: 381 kB / 423.7 MB, free: 47.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2714, allocations: 30.83 kB / 423.7 MB, free: 47.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2715, allocations: 215.4 kB / 423.9 MB, free: 47.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.2716, allocations: 43.86 kB / 423.9 MB, free: 47.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.2717, allocations: 54.14 kB / 424 MB, free: 47.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.2717, allocations: 345.7 kB / 424.3 MB, free: 47.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.272, allocations: 100.7 kB / 424.4 MB, free: 47.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2723, allocations: 134.7 kB / 424.6 MB, free: 47.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.2727, allocations: 219.8 kB / 424.8 MB, free: 47.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2727, allocations: 5.469 kB / 424.8 MB, free: 47.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002624/0.2754, allocations: 0.5472 MB / 425.3 MB, free: 47.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2754, allocations: 10.95 kB / 425.3 MB, free: 47.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2754, allocations: 0 / 425.3 MB, free: 47.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008643/0.2763, allocations: 248.3 kB / 425.6 MB, free: 47.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.2765, allocations: 42.09 kB / 425.6 MB, free: 47.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.281, allocations: 3.781 MB / 429.4 MB, free: 44.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.2815, allocations: 34.3 kB / 429.4 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.2816, allocations: 13.05 kB / 429.5 MB, free: 44.35 MB / 350.1 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.2818, allocations: 157.7 kB / 429.6 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.2818, allocations: 37.28 kB / 429.6 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.2819, allocations: 35.3 kB / 429.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2819, allocations: 0.625 kB / 429.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2819, allocations: 3.094 kB / 429.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2819, allocations: 0.7656 kB / 429.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.284, allocations: 0.8484 MB / 430.5 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2841, allocations: 1.25 kB / 430.5 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.372e-05/0.2841, allocations: 19.77 kB / 430.6 MB, free: 43.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.2844, allocations: 160.7 kB / 430.7 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2845, allocations: 6.438 kB / 430.7 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.2875, allocations: 2.014 MB / 432.7 MB, free: 42.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2875, allocations: 0 / 432.7 MB, free: 42.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.2891, allocations: 0.5016 MB / 433.2 MB, free: 41.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.2892, allocations: 131.6 kB / 433.4 MB, free: 41.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.2893, allocations: 7.938 kB / 433.4 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2895, allocations: 19.14 kB / 433.4 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.2896, allocations: 9.703 kB / 433.4 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2896, allocations: 7.156 kB / 433.4 MB, free: 41.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.2899, allocations: 266.8 kB / 433.7 MB, free: 41.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2899, allocations: 4 kB / 433.7 MB, free: 41.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005084/0.2904, allocations: 89.44 kB / 433.8 MB, free: 41.52 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/0.2922, allocations: 1.044 MB / 434.8 MB, free: 40.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.2932, allocations: 488.7 kB / 435.3 MB, free: 40.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2932, allocations: 0 / 435.3 MB, free: 40.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.2935, allocations: 198.6 kB / 435.5 MB, free: 40.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.294, allocations: 80.55 kB / 435.6 MB, free: 40.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.3016, allocations: 3.631 MB / 439.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.3019, allocations: 0.7824 MB / 440 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.3021, allocations: 40.36 kB / 440 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3022, allocations: 118.4 kB / 440.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3022, allocations: 0 / 440.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.3381, allocations: 9.621 MB / 449.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.91, allocations: 1.531 kB / 449.7 MB, free: 36.62 MB / 350.1 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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)