Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005801/0.005801, allocations: 169.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008448/0.0008447, allocations: 103 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02457/0.02457, allocations: 5.389 MB / 346.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 8.031 kB / 412.2 MB, free: 90.06 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09129, allocations: 51.62 MB / 463.8 MB, free: 44.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4269, allocations: 85.09 MB / 0.5361 GB, free: 19.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4271, allocations: 72.78 kB / 0.5361 GB, free: 19.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753/2.18, allocations: 477.6 MB / 1.003 GB, free: 45.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.18, allocations: 0 / 1.003 GB, free: 45.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002438/2.183, allocations: 236 kB / 1.003 GB, free: 45 MB / 458.7 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.06821/2.251, allocations: 20.67 MB / 1.023 GB, free: 24.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/2.251, allocations: 8.031 kB / 1.023 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007859/2.259, allocations: 1.122 MB / 1.024 GB, free: 23.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009284/2.268, allocations: 1.451 MB / 1.025 GB, free: 21.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02792/2.296, allocations: 11.5 MB / 1.037 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005709/2.297, allocations: 0.6217 MB / 1.037 GB, free: 9.375 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005573/2.302, allocations: 0.8203 MB / 1.038 GB, free: 8.555 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5167/2.819, allocations: 22.7 MB / 1.06 GB, free: 51.59 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003961/2.82, allocations: 23.38 kB / 1.06 GB, free: 51.59 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00595/2.825, allocations: 346.3 kB / 1.061 GB, free: 51.59 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/2.826, allocations: 213.7 kB / 1.061 GB, free: 51.59 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08102/2.907, allocations: 39.05 MB / 1.099 GB, free: 51.48 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1573/3.064, allocations: 75.86 MB / 1.173 GB, free: 16.9 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0405/3.105, allocations: 28.95 MB / 1.201 GB, free: 12.04 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/3.105, allocations: 84.34 kB / 1.201 GB, free: 11.96 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.671e-05/3.105, allocations: 96.08 kB / 1.201 GB, free: 11.85 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 7.093e-06/3.105, allocations: 0 / 1.201 GB, free: 11.85 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.529/3.634, allocations: 82.81 MB / 1.282 GB, free: 77.74 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/3.634, allocations: 114.7 kB / 1.282 GB, free: 77.67 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04347/3.678, allocations: 18.34 MB / 1.3 GB, free: 77.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003547/3.682, allocations: 133.2 kB / 1.3 GB, free: 77.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009023/3.691, allocations: 5.888 MB / 1.306 GB, free: 76.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00509/3.696, allocations: 2.049 MB / 1.308 GB, free: 75.36 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005007/3.701, allocations: 204.1 kB / 1.308 GB, free: 75.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001257/3.702, allocations: 0.7112 MB / 1.309 GB, free: 75.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02726/3.729, allocations: 14.37 MB / 1.323 GB, free: 74.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02612/3.755, allocations: 15.56 MB / 1.338 GB, free: 68.44 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02668/3.782, allocations: 15.14 MB / 1.353 GB, free: 59.41 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.94e-05/3.782, allocations: 4 kB / 1.353 GB, free: 59.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.5405/4.323, allocations: 90.17 MB / 1.441 GB, free: 66.34 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/4.323, allocations: 22.36 kB / 1.441 GB, free: 66.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.655e-05/4.323, allocations: 21.75 kB / 1.441 GB, free: 66.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.216/4.539, allocations: 84.19 MB / 1.523 GB, free: 48.19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009692/4.549, allocations: 1.97 MB / 1.525 GB, free: 46.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249/5.798, allocations: 340.7 MB / 1.858 GB, free: 61.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03125/5.829, allocations: 4.668 MB / 1.863 GB, free: 60.94 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00579/5.835, allocations: 0.5403 MB / 1.863 GB, free: 60.86 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (936): * Single equations (assignments): 887 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {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: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 248} Notification: Performance of prepare postOptimizeDAE: time 0.0175/5.853, allocations: 4.566 MB / 1.868 GB, free: 59.08 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008045/5.861, allocations: 1.203 MB / 1.869 GB, free: 58.43 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2328/6.093, allocations: 74.17 MB / 1.941 GB, free: 9.785 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/6.094, allocations: 59.98 kB / 1.941 GB, free: 9.727 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/6.094, allocations: 0 / 1.941 GB, free: 9.727 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001927/6.094, allocations: 27.89 kB / 1.941 GB, free: 9.699 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5827/6.677, allocations: 97.74 MB / 2.037 GB, free: 61.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-05/6.677, allocations: 0 / 2.037 GB, free: 61.96 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/6.679, allocations: 0.5265 MB / 2.037 GB, free: 61.94 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1819/6.861, allocations: 69.11 MB / 2.105 GB, free: 29.84 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003798/6.865, allocations: 277.7 kB / 2.105 GB, free: 29.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206/8.071, allocations: 242.3 MB / 2.342 GB, free: 71.63 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/8.071, allocations: 7.594 kB / 2.342 GB, free: 71.63 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2217/8.293, allocations: 73.05 MB / 2.413 GB, free: 66.49 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01629/8.309, allocations: 4.673 MB / 2.418 GB, free: 65.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007876/8.317, allocations: 96.53 kB / 2.418 GB, free: 65.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01858/8.336, allocations: 2.647 MB / 2.42 GB, free: 65.24 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001796/8.338, allocations: 435.7 kB / 2.421 GB, free: 65.23 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002894/8.341, allocations: 319.7 kB / 2.421 GB, free: 65.22 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02923/8.37, allocations: 13.69 MB / 2.434 GB, free: 61.23 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.82e-07/8.37, allocations: 0 / 2.434 GB, free: 61.23 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0378/8.408, allocations: 5.686 MB / 2.44 GB, free: 56 MB / 0.4949 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 (298): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {51 247} Notification: Performance of Backend phase and start with SimCode phase: time 0.5114/8.919, allocations: 73.8 MB / 2.512 GB, free: 81.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1394/9.059, allocations: 54.92 MB / 2.566 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/9.059, allocations: 0 / 2.566 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.09444/9.153, allocations: 31.27 MB / 2.596 GB, free: 68.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0219/9.175, allocations: 2.966 MB / 2.599 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1209/9.296, allocations: 68.36 MB / 2.666 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0173/9.313, allocations: 8.986 MB / 2.674 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01556/9.329, allocations: 3.692 MB / 2.678 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01643/9.346, allocations: 5.17 MB / 2.683 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of SimCode: time 3.266e-06/9.346, allocations: 0 / 2.683 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.568/10.91, allocations: 0.5392 GB / 3.222 GB, free: 36.11 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/10.91, allocations: 187.2 kB / 3.223 GB, free: 35.87 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.51/40.43, allocations: 0 / 3.223 GB, free: 35.87 MB / 0.5418 GB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)