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.0009179/0.0009178, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004913/0.004913, allocations: 174.5 kB / 16.27 MB, free: 6.648 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1413/0.1413, allocations: 5.374 MB / 296.8 MB, free: 3.996 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8 kB / 362.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08733, allocations: 51.6 MB / 414.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004114/0.09149, allocations: 4.018 MB / 418.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.09392, allocations: 1.551 MB / 419.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.0942, allocations: 11.94 kB / 419.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008926/0.09511, allocations: 331.3 kB / 420.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.09558, allocations: 214.7 kB / 420.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.09592, allocations: 183.8 kB / 420.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.168/0.2639, allocations: 23.56 MB / 444.1 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007713/0.2717, allocations: 7.224 MB / 451.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008625/0.2803, allocations: 6.275 MB / 457.6 MB, free: 26.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01273/0.2931, allocations: 8.123 MB / 465.8 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003696/0.2968, allocations: 0.8147 MB / 466.6 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/0.3024, allocations: 0.8301 MB / 467.4 MB, free: 23.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.3053, allocations: 2.834 MB / 470.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01467/0.32, allocations: 7.207 MB / 477.5 MB, free: 17.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0248/0.3449, allocations: 26.32 MB / 0.492 GB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3449, allocations: 0 / 0.492 GB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3449, allocations: 0 / 0.492 GB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006892/0.3456, allocations: 0 / 0.492 GB, free: 13.8 MB / 366.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.08634/0.4319, allocations: 28.01 MB / 0.5193 GB, free: 1.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.432, allocations: 8.031 kB / 0.5193 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005323/0.4373, allocations: 1.118 MB / 0.5204 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.444, allocations: 1.452 MB / 0.5218 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04752/0.4915, allocations: 19.11 MB / 0.5405 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006321/0.4922, allocations: 0.6295 MB / 0.5411 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003728/0.4959, allocations: 0.8164 MB / 0.5419 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03722/0.5332, allocations: 15.87 MB / 0.5574 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/0.5334, allocations: 23.81 kB / 0.5574 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002902/0.5364, allocations: 352 kB / 0.5578 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.5365, allocations: 212 kB / 0.558 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03964/0.5762, allocations: 18.01 MB / 0.5756 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4213/0.9975, allocations: 57.88 MB / 0.6321 GB, free: 71.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03192/1.029, allocations: 21.98 MB / 0.6535 GB, free: 61.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01086/1.04, allocations: 7.654 MB / 0.661 GB, free: 58.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/1.041, allocations: 73.17 kB / 0.6611 GB, free: 58.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.041, allocations: 77.83 kB / 0.6612 GB, free: 58.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 5.28e-06/1.041, allocations: 3.469 kB / 0.6612 GB, free: 58.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1/1.141, allocations: 37.91 MB / 0.6982 GB, free: 27.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.141, allocations: 98.92 kB / 0.6983 GB, free: 27.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02498/1.166, allocations: 15.19 MB / 0.7131 GB, free: 12.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001693/1.167, allocations: 109.7 kB / 0.7132 GB, free: 12.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006428/1.174, allocations: 6.093 MB / 0.7192 GB, free: 6.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002315/1.176, allocations: 1.578 MB / 0.7207 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002719/1.179, allocations: 0.7868 MB / 0.7215 GB, free: 3.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.418e-05/1.179, allocations: 301.1 kB / 0.7218 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01469/1.194, allocations: 7.847 MB / 0.7294 GB, free: 11.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01801/1.212, allocations: 9.045 MB / 0.7383 GB, free: 2.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03195/1.244, allocations: 14.8 MB / 0.7527 GB, free: 2.984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/1.244, allocations: 8 kB / 0.7527 GB, free: 2.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3088/1.553, allocations: 41.34 MB / 0.7931 GB, free: 129.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/1.553, allocations: 17.36 kB / 0.7931 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/1.553, allocations: 24.56 kB / 0.7931 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04854/1.601, allocations: 26.11 MB / 0.8186 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/1.608, allocations: 1.496 MB / 0.8201 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5293/2.137, allocations: 194.9 MB / 1.01 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01823/2.156, allocations: 2.664 MB / 1.013 GB, free: 102.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002558/2.158, allocations: 373.1 kB / 1.013 GB, free: 102.2 MB / 494.1 MB 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.009919/2.168, allocations: 4.523 MB / 1.018 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003676/2.172, allocations: 1.158 MB / 1.019 GB, free: 99.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09337/2.265, allocations: 33.21 MB / 1.051 GB, free: 79.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/2.265, allocations: 40 kB / 1.051 GB, free: 79.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/2.265, allocations: 7.469 kB / 1.051 GB, free: 79.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.415e-05/2.265, allocations: 23.91 kB / 1.051 GB, free: 79.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1259/2.391, allocations: 48.24 MB / 1.099 GB, free: 31.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/2.391, allocations: 0 / 1.099 GB, free: 31.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/2.393, allocations: 455.4 kB / 1.099 GB, free: 31.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02387/2.417, allocations: 15.87 MB / 1.115 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/2.418, allocations: 115.9 kB / 1.115 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4674/2.886, allocations: 112.8 MB / 1.225 GB, free: 104.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.886, allocations: 0 / 1.225 GB, free: 104.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09218/2.978, allocations: 32.28 MB / 1.256 GB, free: 72.52 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00753/2.986, allocations: 2.702 MB / 1.259 GB, free: 69.84 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004134/2.99, allocations: 76.25 kB / 1.259 GB, free: 69.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0114/3.001, allocations: 1.498 MB / 1.26 GB, free: 68.27 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007393/3.002, allocations: 280.1 kB / 1.261 GB, free: 68 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000985/3.003, allocations: 140.4 kB / 1.261 GB, free: 67.86 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01683/3.02, allocations: 10.49 MB / 1.271 GB, free: 57.45 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.71e-07/3.02, allocations: 0 / 1.271 GB, free: 57.45 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01564/3.035, allocations: 3.711 MB / 1.275 GB, free: 53.84 MB / 0.4982 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.09269/3.128, allocations: 32.96 MB / 1.307 GB, free: 20.96 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.2481/3.376, allocations: 34.07 MB / 1.34 GB, free: 129.5 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/3.376, allocations: 0 / 1.34 GB, free: 129.5 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05327/3.43, allocations: 18.27 MB / 1.358 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/3.445, allocations: 2.98 MB / 1.361 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.675/5.12, allocations: 248.9 MB / 1.604 GB, free: 80.55 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007177/5.128, allocations: 8.687 MB / 1.613 GB, free: 74.18 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01011/5.138, allocations: 3.594 MB / 1.616 GB, free: 71.23 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00685/5.145, allocations: 4.998 MB / 1.621 GB, free: 66.23 MB / 0.4982 GB Notification: Performance of SimCode: time 6.31e-07/5.145, allocations: 0 / 1.621 GB, free: 66.23 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7973/5.942, allocations: 378.7 MB / 1.991 GB, free: 80.01 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/5.942, allocations: 220.9 kB / 1.991 GB, free: 79.76 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/16.89, allocations: 0 / 1.991 GB, free: 79.76 MB / 0.5138 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)