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.0007867/0.0007868, allocations: 94.91 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1384/0.1384, allocations: 5.382 MB / 296.8 MB, free: 3.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003118, allocations: 12 kB / 362.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09244, allocations: 51.59 MB / 414.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003593/0.09607, allocations: 3.037 MB / 417.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.09779, allocations: 1.235 MB / 418.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.09794, allocations: 8 kB / 418.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.09841, allocations: 199 kB / 418.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.0987, allocations: 131.1 kB / 418.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.09888, allocations: 99.89 kB / 419 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.09938, allocations: 0.5253 MB / 419.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.09961, allocations: 116 kB / 419.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.09982, allocations: 179.1 kB / 419.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.1001, allocations: 219 kB / 420 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.1001, allocations: 20 kB / 420 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.1002, allocations: 35.98 kB / 420.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.1003, allocations: 71.61 kB / 420.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1005, allocations: 224.5 kB / 420.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.1009, allocations: 494.2 kB / 420.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1009, allocations: 0 / 420.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1009, allocations: 0 / 420.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1009, allocations: 0 / 420.8 MB, free: 3.441 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.001662/0.1026, allocations: 0.7636 MB / 421.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1027, allocations: 8.031 kB / 421.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.384e-05/0.1027, allocations: 58.73 kB / 421.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.1028, allocations: 40.47 kB / 421.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009571/0.1038, allocations: 0.4883 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.1038, allocations: 28.5 kB / 422.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.1039, allocations: 20 kB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.1045, allocations: 305.1 kB / 422.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1045, allocations: 0 / 422.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.1046, allocations: 15.98 kB / 422.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1046, allocations: 4 kB / 422.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.1052, allocations: 273.5 kB / 422.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1628/0.2679, allocations: 1.294 MB / 424.1 MB, free: 45.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.2686, allocations: 277.7 kB / 424.4 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.2689, allocations: 123.5 kB / 424.5 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2689, allocations: 1.562 kB / 424.5 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2689, allocations: 42.73 kB / 424.6 MB, free: 45.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.269, allocations: 0 / 424.6 MB, free: 45.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003484/0.2724, allocations: 0.8463 MB / 425.4 MB, free: 44.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.2725, allocations: 51.41 kB / 425.5 MB, free: 44.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.2728, allocations: 390.3 kB / 425.8 MB, free: 44.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2729, allocations: 33.23 kB / 425.9 MB, free: 44.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.273, allocations: 217.1 kB / 426.1 MB, free: 44.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.273, allocations: 39.53 kB / 426.1 MB, free: 44.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.2731, allocations: 26.73 kB / 426.2 MB, free: 44.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.2731, allocations: 341 kB / 426.5 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.2734, allocations: 114.7 kB / 426.6 MB, free: 44.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.2736, allocations: 142.3 kB / 426.7 MB, free: 44.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.2741, allocations: 239.5 kB / 427 MB, free: 44.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2741, allocations: 3.25 kB / 427 MB, free: 44.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001957/0.276, allocations: 0.6186 MB / 427.6 MB, free: 44.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2761, allocations: 2.875 kB / 427.6 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.2761, allocations: 5.875 kB / 427.6 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007809/0.2769, allocations: 256.1 kB / 427.9 MB, free: 44.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2771, allocations: 38.97 kB / 427.9 MB, free: 44.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.2815, allocations: 3.568 MB / 431.5 MB, free: 41.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2818, allocations: 48.25 kB / 431.5 MB, free: 41.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.2818, allocations: 11.12 kB / 431.5 MB, free: 41.41 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.0001373/0.282, allocations: 155.9 kB / 431.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.282, allocations: 34.03 kB / 431.7 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.2821, allocations: 33.47 kB / 431.7 MB, free: 41.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2821, allocations: 0 / 431.7 MB, free: 41.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2821, allocations: 3.125 kB / 431.7 MB, free: 41.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2821, allocations: 3.375 kB / 431.7 MB, free: 41.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.2841, allocations: 0.9074 MB / 432.6 MB, free: 40.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2842, allocations: 0 / 432.6 MB, free: 40.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.2843, allocations: 23.5 kB / 432.7 MB, free: 40.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.2846, allocations: 174.7 kB / 432.8 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2846, allocations: 7.375 kB / 432.8 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.2874, allocations: 1.952 MB / 434.8 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2874, allocations: 0 / 434.8 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.2891, allocations: 0.5569 MB / 435.4 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.2892, allocations: 129.4 kB / 435.5 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2892, allocations: 1.875 kB / 435.5 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.2895, allocations: 32.7 kB / 435.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.2895, allocations: 12.42 kB / 435.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2895, allocations: 3.969 kB / 435.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.2898, allocations: 269.8 kB / 435.8 MB, free: 39.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2898, allocations: 0 / 435.8 MB, free: 39.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.2902, allocations: 90.91 kB / 435.9 MB, free: 39.21 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.001763/0.292, allocations: 1.097 MB / 437 MB, free: 38.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008415/0.2928, allocations: 0.5046 MB / 437.5 MB, free: 38.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2929, allocations: 0 / 437.5 MB, free: 38.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.2931, allocations: 213 kB / 437.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.2936, allocations: 73.84 kB / 437.8 MB, free: 38.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.3002, allocations: 3.903 MB / 441.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.3004, allocations: 0.7809 MB / 442.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.3006, allocations: 42.7 kB / 442.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3007, allocations: 121.1 kB / 442.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3007, allocations: 0 / 442.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.3329, allocations: 8.985 MB / 451.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.3331, allocations: 208.9 kB / 451.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.205, allocations: 0 / 451.8 MB, free: 34.64 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 & /home/hudson/saved_omc/OMSimulator/install/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)