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.007483/0.007483, allocations: 101 kB / 15.73 MB, free: 6.441 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.001867/0.001867, allocations: 195.8 kB / 16.68 MB, free: 6.355 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1298/0.1298, allocations: 5.38 MB / 295.9 MB, free: 2.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 412.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2297, allocations: 50.62 MB / 462.9 MB, free: 21.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004846/0.2346, allocations: 4.384 MB / 467.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.2374, allocations: 1.593 MB / 468.9 MB, free: 16.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.2379, allocations: 7.812 kB / 468.9 MB, free: 16.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009631/0.2389, allocations: 319.2 kB / 469.2 MB, free: 16.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.2396, allocations: 245 kB / 469.5 MB, free: 16.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.24, allocations: 211 kB / 469.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01833/0.2584, allocations: 25.71 MB / 495.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.2692, allocations: 7.943 MB / 0.4915 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01349/0.2827, allocations: 9.361 MB / 0.5007 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02034/0.3031, allocations: 10.86 MB / 0.5113 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006955/0.3101, allocations: 2.707 MB / 0.5139 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009207/0.3194, allocations: 2.723 MB / 0.5166 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00863/0.328, allocations: 5.12 MB / 0.5216 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02123/0.3493, allocations: 9.531 MB / 0.5309 GB, free: 276 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03128/0.3806, allocations: 28.92 MB / 0.5591 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3806, allocations: 0 / 0.5591 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3806, allocations: 0 / 0.5591 GB, free: 3.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00082/0.3815, allocations: 0 / 0.5591 GB, free: 3.277 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.4776/0.8591, allocations: 31.42 MB / 0.5898 GB, free: 77.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8591, allocations: 9.469 kB / 0.5898 GB, free: 77.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005575/0.8647, allocations: 1.122 MB / 0.5909 GB, free: 77.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008197/0.8729, allocations: 1.451 MB / 0.5923 GB, free: 76.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05266/0.9256, allocations: 18.95 MB / 0.6108 GB, free: 67.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006964/0.9263, allocations: 0.6228 MB / 0.6114 GB, free: 66.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00433/0.9307, allocations: 0.817 MB / 0.6122 GB, free: 66.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02967/0.9604, allocations: 15.68 MB / 0.6275 GB, free: 53.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/0.9606, allocations: 23.81 kB / 0.6276 GB, free: 53.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.9621, allocations: 348 kB / 0.6279 GB, free: 53.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.9622, allocations: 216 kB / 0.6281 GB, free: 52.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03324/0.9955, allocations: 17.59 MB / 0.6453 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/1.099, allocations: 57.22 MB / 0.7012 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03496/1.134, allocations: 21.38 MB / 0.722 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01342/1.147, allocations: 7.448 MB / 0.7293 GB, free: 11.83 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/1.147, allocations: 79.38 kB / 0.7294 GB, free: 11.75 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/1.147, allocations: 78.08 kB / 0.7295 GB, free: 11.67 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 6.813e-06/1.147, allocations: 4 kB / 0.7295 GB, free: 11.66 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1098/1.257, allocations: 36.3 MB / 0.7649 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/1.257, allocations: 94.92 kB / 0.765 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02656/1.284, allocations: 15.19 MB / 0.7798 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001628/1.286, allocations: 109.7 kB / 0.7799 GB, free: 7.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006363/1.292, allocations: 6.088 MB / 0.7859 GB, free: 1.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00243/1.294, allocations: 1.58 MB / 0.7874 GB, free: 244 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.212/1.506, allocations: 2.102 MB / 0.7895 GB, free: 173.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.878e-05/1.506, allocations: 306.1 kB / 0.7898 GB, free: 173.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01554/1.522, allocations: 7.647 MB / 0.7972 GB, free: 173 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01753/1.539, allocations: 8.831 MB / 0.8059 GB, free: 169.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02825/1.568, allocations: 14.4 MB / 0.8199 GB, free: 163.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.469e-05/1.568, allocations: 7.031 kB / 0.8199 GB, free: 163.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.113/1.681, allocations: 39.93 MB / 0.8589 GB, free: 137.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/1.681, allocations: 19.94 kB / 0.8589 GB, free: 137.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/1.681, allocations: 24 kB / 0.859 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04267/1.724, allocations: 25.71 MB / 0.8841 GB, free: 112 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006686/1.73, allocations: 1.49 MB / 0.8855 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5552/2.286, allocations: 202.7 MB / 1.083 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/2.302, allocations: 2.558 MB / 1.086 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/2.304, allocations: 383.7 kB / 1.086 GB, free: 130.4 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.007043/2.311, allocations: 4.519 MB / 1.091 GB, free: 126 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002666/2.314, allocations: 1.153 MB / 1.092 GB, free: 125.5 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0882/2.402, allocations: 31.81 MB / 1.123 GB, free: 93.85 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/2.402, allocations: 44 kB / 1.123 GB, free: 93.81 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/2.402, allocations: 0 / 1.123 GB, free: 93.81 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.465e-05/2.402, allocations: 19.92 kB / 1.123 GB, free: 93.79 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1157/2.518, allocations: 46.46 MB / 1.168 GB, free: 47.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-05/2.518, allocations: 0 / 1.168 GB, free: 47.45 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/2.52, allocations: 459.4 kB / 1.169 GB, free: 47 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02207/2.542, allocations: 15.46 MB / 1.184 GB, free: 31.58 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/2.543, allocations: 111.8 kB / 1.184 GB, free: 31.47 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.496/3.039, allocations: 114.9 MB / 1.296 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/3.039, allocations: 0 / 1.296 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08807/3.127, allocations: 30.88 MB / 1.326 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007678/3.135, allocations: 2.658 MB / 1.329 GB, free: 98.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004841/3.14, allocations: 72 kB / 1.329 GB, free: 98.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/3.151, allocations: 1.4 MB / 1.33 GB, free: 97.11 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00079/3.152, allocations: 276.1 kB / 1.331 GB, free: 96.84 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001013/3.153, allocations: 145.9 kB / 1.331 GB, free: 96.71 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0152/3.168, allocations: 10.49 MB / 1.341 GB, free: 86.29 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.31e-07/3.168, allocations: 0 / 1.341 GB, free: 86.29 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01525/3.183, allocations: 3.712 MB / 1.345 GB, free: 82.7 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.08563/3.269, allocations: 31.57 MB / 1.376 GB, free: 51.21 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.07352/3.342, allocations: 33.13 MB / 1.408 GB, free: 17.26 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/3.342, allocations: 0 / 1.408 GB, free: 17.26 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.05101/3.393, allocations: 17.29 MB / 1.425 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2338/3.627, allocations: 3.102 MB / 1.428 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3775/4.005, allocations: 171 MB / 1.595 GB, free: 57.84 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008818/4.014, allocations: 8.686 MB / 1.603 GB, free: 49.11 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01047/4.024, allocations: 3.777 MB / 1.607 GB, free: 45.36 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008775/4.033, allocations: 4.998 MB / 1.612 GB, free: 40.36 MB / 0.5763 GB Notification: Performance of SimCode: time 1.343e-06/4.033, allocations: 0 / 1.612 GB, free: 40.36 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/5.04, allocations: 396.9 MB / 2 GB, free: 59.72 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.26/62.3, allocations: 8.781 kB / 2 GB, free: 59.72 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)