Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",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.006046/0.006046, allocations: 102.7 kB / 15.74 MB, free: 6.496 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.001451/0.001452, allocations: 195.9 kB / 16.68 MB, free: 6.375 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1434/0.1434, allocations: 5.398 MB / 295.9 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.88 kB / 412.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2548, allocations: 50.62 MB / 462.9 MB, free: 21.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004311/0.2591, allocations: 4.384 MB / 467.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.2613, allocations: 1.592 MB / 468.9 MB, free: 16.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.2615, allocations: 11.94 kB / 468.9 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.2623, allocations: 294.5 kB / 469.2 MB, free: 16.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.2628, allocations: 240.2 kB / 469.4 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.2634, allocations: 215.2 kB / 469.7 MB, free: 16.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01861/0.282, allocations: 25.7 MB / 495.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.2928, allocations: 7.947 MB / 0.4915 GB, free: 8.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.3079, allocations: 9.341 MB / 0.5006 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02144/0.3294, allocations: 10.86 MB / 0.5112 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008061/0.3375, allocations: 2.707 MB / 0.5139 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.3476, allocations: 2.711 MB / 0.5165 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01029/0.3579, allocations: 5.12 MB / 0.5215 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02506/0.383, allocations: 9.531 MB / 0.5308 GB, free: 432 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0355/0.4186, allocations: 29 MB / 0.5591 GB, free: 3.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4186, allocations: 3.938 kB / 0.5591 GB, free: 3.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4186, allocations: 0 / 0.5591 GB, free: 3.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007334/0.4194, allocations: 4 kB / 0.5591 GB, free: 3.332 MB / 430.1 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.5284/0.9478, allocations: 31.83 MB / 0.5902 GB, free: 74.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.9479, allocations: 13.16 kB / 0.5902 GB, free: 74.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005693/0.9536, allocations: 1.116 MB / 0.5913 GB, free: 74.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007857/0.9614, allocations: 1.529 MB / 0.5928 GB, free: 73.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05072/1.012, allocations: 19.06 MB / 0.6114 GB, free: 64.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007763/1.013, allocations: 0.631 MB / 0.6121 GB, free: 63.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004223/1.017, allocations: 0.8126 MB / 0.6128 GB, free: 63.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/1.053, allocations: 15.67 MB / 0.6282 GB, free: 49.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004005/1.053, allocations: 29.48 kB / 0.6282 GB, free: 49.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003725/1.057, allocations: 344 kB / 0.6285 GB, free: 49.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.057, allocations: 212 kB / 0.6287 GB, free: 49.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03592/1.093, allocations: 17.6 MB / 0.6459 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1153/1.209, allocations: 57.33 MB / 0.7019 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04041/1.249, allocations: 21.38 MB / 0.7228 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01538/1.264, allocations: 7.444 MB / 0.73 GB, free: 8.902 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/1.265, allocations: 71.06 kB / 0.7301 GB, free: 8.84 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.957e-05/1.265, allocations: 78.08 kB / 0.7302 GB, free: 8.754 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 7.184e-06/1.265, allocations: 0 / 0.7302 GB, free: 8.754 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1249/1.39, allocations: 36.36 MB / 0.7657 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/1.39, allocations: 98.92 kB / 0.7658 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03236/1.422, allocations: 15.2 MB / 0.7806 GB, free: 5.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001679/1.424, allocations: 113.7 kB / 0.7807 GB, free: 5.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2274/1.651, allocations: 6.194 MB / 0.7868 GB, free: 175 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002497/1.654, allocations: 1.654 MB / 0.7884 GB, free: 175 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007766/1.662, allocations: 2.108 MB / 0.7904 GB, free: 174.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/1.662, allocations: 303.5 kB / 0.7907 GB, free: 174.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01869/1.681, allocations: 7.644 MB / 0.7982 GB, free: 173.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0168/1.697, allocations: 8.839 MB / 0.8068 GB, free: 170.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03072/1.728, allocations: 14.39 MB / 0.8209 GB, free: 164.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.536e-05/1.728, allocations: 10.58 kB / 0.8209 GB, free: 164.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1181/1.846, allocations: 40 MB / 0.86 GB, free: 136.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/1.846, allocations: 19.94 kB / 0.86 GB, free: 136.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/1.846, allocations: 27.25 kB / 0.86 GB, free: 136.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04546/1.892, allocations: 25.7 MB / 0.8851 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007251/1.899, allocations: 1.494 MB / 0.8866 GB, free: 109.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6012/2.5, allocations: 202.8 MB / 1.085 GB, free: 130.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/2.52, allocations: 2.589 MB / 1.087 GB, free: 128.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00296/2.523, allocations: 379.7 kB / 1.088 GB, free: 128.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {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 (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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.009715/2.532, allocations: 4.526 MB / 1.092 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004625/2.537, allocations: 1.215 MB / 1.093 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09773/2.635, allocations: 31.81 MB / 1.124 GB, free: 91.95 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/2.635, allocations: 43.98 kB / 1.124 GB, free: 91.91 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/2.635, allocations: 0 / 1.124 GB, free: 91.91 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/2.635, allocations: 23.77 kB / 1.124 GB, free: 91.89 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1319/2.767, allocations: 46.48 MB / 1.17 GB, free: 45.63 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/2.767, allocations: 4 kB / 1.17 GB, free: 45.62 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/2.769, allocations: 447.4 kB / 1.17 GB, free: 45.19 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02361/2.792, allocations: 15.46 MB / 1.185 GB, free: 29.76 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/2.794, allocations: 115.9 kB / 1.185 GB, free: 29.65 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5388/3.333, allocations: 115 MB / 1.298 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.333, allocations: 4 kB / 1.298 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09299/3.426, allocations: 30.94 MB / 1.328 GB, free: 99.42 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007935/3.434, allocations: 2.713 MB / 1.33 GB, free: 96.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005556/3.439, allocations: 71.98 kB / 1.331 GB, free: 96.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01287/3.452, allocations: 1.4 MB / 1.332 GB, free: 95.45 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009921/3.453, allocations: 272.1 kB / 1.332 GB, free: 95.19 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001327/3.455, allocations: 147.6 kB / 1.332 GB, free: 95.05 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01825/3.473, allocations: 10.49 MB / 1.343 GB, free: 84.63 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.61e-07/3.473, allocations: 0 / 1.343 GB, free: 84.63 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01947/3.492, allocations: 3.723 MB / 1.346 GB, free: 81.02 MB / 0.5607 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.09447/3.587, allocations: 31.62 MB / 1.377 GB, free: 49.48 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.07426/3.661, allocations: 33.19 MB / 1.409 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/3.661, allocations: 0 / 1.409 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.2734/3.935, allocations: 17.3 MB / 1.426 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02221/3.957, allocations: 3.116 MB / 1.429 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4141/4.371, allocations: 171.5 MB / 1.597 GB, free: 56.43 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01205/4.383, allocations: 8.682 MB / 1.605 GB, free: 47.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01105/4.394, allocations: 3.785 MB / 1.609 GB, free: 43.92 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009316/4.404, allocations: 4.99 MB / 1.614 GB, free: 38.93 MB / 0.5763 GB Notification: Performance of SimCode: time 9.62e-07/4.404, allocations: 3.938 kB / 1.614 GB, free: 38.92 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.02/5.423, allocations: 397 MB / 2.002 GB, free: 57.96 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 53.7/59.12, allocations: 1.828 kB / 2.002 GB, free: 57.96 MB / 0.5763 GB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)