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.001174/0.001174, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1481/0.1481, allocations: 5.375 MB / 295.8 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 55.91 kB / 361 MB, free: 14.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.0989, allocations: 50.63 MB / 411.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006168/0.1051, allocations: 4.385 MB / 416 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.1082, allocations: 1.589 MB / 417.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.1088, allocations: 11.94 kB / 417.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.1099, allocations: 293 kB / 417.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009002/0.1109, allocations: 242.3 kB / 418.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.1115, allocations: 211.6 kB / 418.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.19/0.3015, allocations: 25.6 MB / 444 MB, free: 32.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008267/0.3099, allocations: 7.948 MB / 451.9 MB, free: 29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01377/0.3237, allocations: 9.32 MB / 461.2 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01644/0.3401, allocations: 10.84 MB / 472.1 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007438/0.3476, allocations: 2.704 MB / 474.8 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009359/0.357, allocations: 2.712 MB / 477.5 MB, free: 19.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006941/0.364, allocations: 5.126 MB / 482.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01839/0.3824, allocations: 9.528 MB / 492.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03675/0.4191, allocations: 28.69 MB / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.4192, allocations: 0 / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4192, allocations: 4 kB / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007092/0.4199, allocations: 4 kB / 0.5086 GB, free: 12.42 MB / 382.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.1019/0.5218, allocations: 30.8 MB / 0.5387 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.5219, allocations: 8.031 kB / 0.5387 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006584/0.5285, allocations: 1.118 MB / 0.5398 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008623/0.5371, allocations: 1.456 MB / 0.5412 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05205/0.5892, allocations: 18.8 MB / 0.5596 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006797/0.5899, allocations: 0.6334 MB / 0.5602 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004727/0.5947, allocations: 0.8164 MB / 0.561 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03949/0.6342, allocations: 15.67 MB / 0.5763 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003651/0.6346, allocations: 27.75 kB / 0.5763 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003975/0.6386, allocations: 348 kB / 0.5767 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/0.6388, allocations: 212 kB / 0.5769 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3699/1.009, allocations: 17.59 MB / 0.594 GB, free: 96.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/1.112, allocations: 57.51 MB / 0.6502 GB, free: 67.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03095/1.143, allocations: 21.37 MB / 0.6711 GB, free: 53.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01124/1.154, allocations: 7.452 MB / 0.6783 GB, free: 48.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/1.154, allocations: 75.98 kB / 0.6784 GB, free: 48.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/1.154, allocations: 82.02 kB / 0.6785 GB, free: 48.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.402e-06/1.154, allocations: 0 / 0.6785 GB, free: 48.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1023/1.257, allocations: 36.3 MB / 0.7139 GB, free: 12.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.257, allocations: 98.92 kB / 0.714 GB, free: 12.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02761/1.284, allocations: 15.18 MB / 0.7289 GB, free: 13.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002157/1.287, allocations: 117.7 kB / 0.729 GB, free: 13.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008217/1.295, allocations: 6.091 MB / 0.7349 GB, free: 7.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002721/1.298, allocations: 1.573 MB / 0.7365 GB, free: 5.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009075/1.307, allocations: 2.097 MB / 0.7385 GB, free: 3.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/1.307, allocations: 305.8 kB / 0.7388 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01605/1.323, allocations: 7.648 MB / 0.7463 GB, free: 11.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02219/1.345, allocations: 8.835 MB / 0.7549 GB, free: 2.188 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04657/1.392, allocations: 14.4 MB / 0.769 GB, free: 3.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.041e-05/1.392, allocations: 8.625 kB / 0.769 GB, free: 3.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.2941/1.686, allocations: 39.95 MB / 0.808 GB, free: 131.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/1.686, allocations: 14.03 kB / 0.808 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/1.686, allocations: 23.16 kB / 0.808 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04795/1.734, allocations: 25.74 MB / 0.8331 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007156/1.741, allocations: 1.497 MB / 0.8346 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5512/2.292, allocations: 202.9 MB / 1.033 GB, free: 92.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01922/2.312, allocations: 2.562 MB / 1.035 GB, free: 91.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003021/2.315, allocations: 377.8 kB / 1.036 GB, free: 91.04 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.01135/2.326, allocations: 4.52 MB / 1.04 GB, free: 88.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004993/2.331, allocations: 1.155 MB / 1.041 GB, free: 87.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09732/2.429, allocations: 31.81 MB / 1.072 GB, free: 59.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/2.429, allocations: 44 kB / 1.072 GB, free: 59.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/2.429, allocations: 0 / 1.072 GB, free: 59.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/2.429, allocations: 23.86 kB / 1.072 GB, free: 59.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1332/2.562, allocations: 46.64 MB / 1.118 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/2.562, allocations: 4 kB / 1.118 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/2.564, allocations: 450.6 kB / 1.118 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02393/2.588, allocations: 15.48 MB / 1.133 GB, free: 13.31 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/2.589, allocations: 111.9 kB / 1.133 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4812/3.07, allocations: 115 MB / 1.246 GB, free: 85.21 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/3.07, allocations: 0 / 1.246 GB, free: 85.21 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09145/3.162, allocations: 30.88 MB / 1.276 GB, free: 54.51 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007267/3.169, allocations: 2.652 MB / 1.279 GB, free: 51.89 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004145/3.173, allocations: 72.56 kB / 1.279 GB, free: 51.82 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01118/3.185, allocations: 1.397 MB / 1.28 GB, free: 50.42 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001/3.186, allocations: 276.1 kB / 1.28 GB, free: 50.15 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001362/3.187, allocations: 139.9 kB / 1.28 GB, free: 50.01 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01859/3.206, allocations: 10.49 MB / 1.291 GB, free: 39.59 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.81e-07/3.206, allocations: 0 / 1.291 GB, free: 39.59 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01771/3.223, allocations: 3.717 MB / 1.294 GB, free: 35.97 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.2889/3.512, allocations: 31.56 MB / 1.325 GB, free: 123 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.09305/3.605, allocations: 39.92 MB / 1.364 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/3.605, allocations: 0 / 1.364 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05405/3.659, allocations: 17.29 MB / 1.381 GB, free: 112.9 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01804/3.677, allocations: 3.106 MB / 1.384 GB, free: 111.7 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6263/4.304, allocations: 242.2 MB / 1.621 GB, free: 87.63 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/4.316, allocations: 8.686 MB / 1.629 GB, free: 84.98 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0122/4.328, allocations: 3.89 MB / 1.633 GB, free: 83.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008071/4.336, allocations: 4.996 MB / 1.638 GB, free: 78.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.182e-06/4.336, allocations: 4 kB / 1.638 GB, free: 78.8 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9575/5.294, allocations: 395 MB / 2.023 GB, free: 66.06 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.92/27.22, allocations: 15.97 kB / 2.023 GB, free: 66.06 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)