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.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001059/0.001059, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1336/0.1336, allocations: 5.396 MB / 295.3 MB, free: 2.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 59.91 kB / 360.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.101, allocations: 50.62 MB / 410.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005727/0.1068, allocations: 4.416 MB / 415.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.1097, allocations: 1.582 MB / 416.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006362/0.1104, allocations: 8 kB / 416.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1119, allocations: 323.3 kB / 417.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009454/0.1129, allocations: 214.7 kB / 417.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.1135, allocations: 187.8 kB / 417.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1834/0.2969, allocations: 23.58 MB / 441.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007556/0.3045, allocations: 7.268 MB / 448.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009558/0.3141, allocations: 6.593 MB / 455 MB, free: 28.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/0.3273, allocations: 8.533 MB / 463.6 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005098/0.3324, allocations: 0.9526 MB / 464.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007205/0.3397, allocations: 0.9619 MB / 465.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004835/0.3445, allocations: 3.061 MB / 468.5 MB, free: 22.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01699/0.3615, allocations: 7.462 MB / 476 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02931/0.3909, allocations: 27.1 MB / 0.4913 GB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3909, allocations: 0 / 0.4913 GB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3909, allocations: 4 kB / 0.4913 GB, free: 13.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007743/0.3917, allocations: 0 / 0.4913 GB, free: 13.72 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.1045/0.4962, allocations: 30.8 MB / 0.5214 GB, free: 14.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4963, allocations: 12.03 kB / 0.5214 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005297/0.5016, allocations: 1.122 MB / 0.5225 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007326/0.5089, allocations: 1.448 MB / 0.5239 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05593/0.5649, allocations: 18.8 MB / 0.5423 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006799/0.5656, allocations: 0.6294 MB / 0.5429 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005157/0.5707, allocations: 0.8203 MB / 0.5437 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/0.6081, allocations: 15.68 MB / 0.559 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.6083, allocations: 23.75 kB / 0.559 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/0.6096, allocations: 348 kB / 0.5593 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.6097, allocations: 212 kB / 0.5595 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03921/0.6489, allocations: 17.59 MB / 0.5767 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4551/1.104, allocations: 57.51 MB / 0.6329 GB, free: 69.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03423/1.138, allocations: 21.38 MB / 0.6538 GB, free: 59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/1.15, allocations: 7.442 MB / 0.661 GB, free: 55.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.15, allocations: 66.16 kB / 0.6611 GB, free: 55.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/1.15, allocations: 75.92 kB / 0.6612 GB, free: 55.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 5.761e-06/1.15, allocations: 0 / 0.6612 GB, free: 55.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1025/1.252, allocations: 36.3 MB / 0.6966 GB, free: 25.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.252, allocations: 98.92 kB / 0.6967 GB, free: 25.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02273/1.275, allocations: 15.19 MB / 0.7115 GB, free: 10.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001545/1.277, allocations: 114.3 kB / 0.7117 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004946/1.282, allocations: 6.085 MB / 0.7176 GB, free: 5.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002218/1.284, allocations: 1.585 MB / 0.7191 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00665/1.291, allocations: 2.095 MB / 0.7212 GB, free: 1.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/1.291, allocations: 313 kB / 0.7215 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01485/1.305, allocations: 7.648 MB / 0.729 GB, free: 9.426 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01988/1.325, allocations: 8.828 MB / 0.7376 GB, free: 276 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03209/1.357, allocations: 14.41 MB / 0.7516 GB, free: 1.516 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/1.358, allocations: 4 kB / 0.7516 GB, free: 1.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3118/1.669, allocations: 39.94 MB / 0.7906 GB, free: 131.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/1.669, allocations: 13.59 kB / 0.7907 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/1.67, allocations: 23.91 kB / 0.7907 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04651/1.716, allocations: 25.71 MB / 0.8158 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006308/1.722, allocations: 1.495 MB / 0.8172 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5276/2.25, allocations: 190.4 MB / 1.003 GB, free: 102.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01812/2.268, allocations: 2.568 MB / 1.006 GB, free: 102.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003012/2.271, allocations: 374.2 kB / 1.006 GB, free: 102.3 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.0101/2.281, allocations: 4.516 MB / 1.01 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003572/2.285, allocations: 1.166 MB / 1.012 GB, free: 99.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08899/2.374, allocations: 31.81 MB / 1.043 GB, free: 85.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/2.374, allocations: 44 kB / 1.043 GB, free: 85.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.374, allocations: 0 / 1.043 GB, free: 85.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/2.374, allocations: 22.73 kB / 1.043 GB, free: 85.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1227/2.497, allocations: 46.64 MB / 1.088 GB, free: 38.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/2.497, allocations: 0 / 1.088 GB, free: 38.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/2.499, allocations: 459.1 kB / 1.089 GB, free: 38.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02272/2.521, allocations: 15.47 MB / 1.104 GB, free: 22.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001609/2.523, allocations: 115.9 kB / 1.104 GB, free: 22.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4691/2.992, allocations: 108.3 MB / 1.21 GB, free: 112.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.992, allocations: 3 kB / 1.21 GB, free: 112.1 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09465/3.087, allocations: 30.87 MB / 1.24 GB, free: 86.87 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007115/3.094, allocations: 2.659 MB / 1.242 GB, free: 84.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003964/3.098, allocations: 71.75 kB / 1.242 GB, free: 84.17 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01169/3.11, allocations: 1.398 MB / 1.244 GB, free: 82.77 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/3.111, allocations: 276.1 kB / 1.244 GB, free: 82.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00112/3.112, allocations: 147.9 kB / 1.244 GB, free: 82.36 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01948/3.131, allocations: 10.49 MB / 1.255 GB, free: 71.94 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.71e-07/3.131, allocations: 0 / 1.255 GB, free: 71.94 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01709/3.148, allocations: 3.71 MB / 1.258 GB, free: 68.33 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.09301/3.242, allocations: 31.57 MB / 1.289 GB, free: 36.89 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.2445/3.486, allocations: 32.8 MB / 1.321 GB, free: 132.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/3.486, allocations: 0 / 1.321 GB, free: 132.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05259/3.539, allocations: 17.17 MB / 1.338 GB, free: 131.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01777/3.557, allocations: 2.983 MB / 1.341 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.648/5.205, allocations: 245.6 MB / 1.581 GB, free: 84.54 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008872/5.214, allocations: 8.682 MB / 1.589 GB, free: 81.89 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01309/5.227, allocations: 3.595 MB / 1.593 GB, free: 81.68 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00794/5.235, allocations: 4.993 MB / 1.597 GB, free: 77.62 MB / 0.4982 GB Notification: Performance of SimCode: time 8.32e-07/5.235, allocations: 0 / 1.597 GB, free: 77.62 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7799/6.015, allocations: 383.2 MB / 1.972 GB, free: 90.84 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/6.015, allocations: 227.4 kB / 1.972 GB, free: 90.58 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/17.34, allocations: 3.828 kB / 1.972 GB, free: 90.58 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)