Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.0009836/0.0009837, 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.00108/0.00108, allocations: 192.4 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.6344/0.6344, allocations: 5.389 MB / 295.3 MB, free: 2.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 59.91 kB / 360.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09711, allocations: 50.61 MB / 410.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003881/0.101, allocations: 3.426 MB / 414.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1027, allocations: 1.25 MB / 415.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1029, allocations: 4 kB / 415.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.1034, allocations: 199 kB / 415.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1037, allocations: 127.1 kB / 415.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1039, allocations: 107.8 kB / 416 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.1043, allocations: 0.5253 MB / 416.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.1045, allocations: 108 kB / 416.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.1047, allocations: 187.2 kB / 416.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.105, allocations: 223 kB / 417 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.105, allocations: 28 kB / 417 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1051, allocations: 36 kB / 417.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.1052, allocations: 83.58 kB / 417.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1054, allocations: 198.9 kB / 417.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.1058, allocations: 0.5022 MB / 417.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1058, allocations: 4 kB / 417.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1058, allocations: 0 / 417.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1058, allocations: 0 / 417.8 MB, free: 4.871 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001802/0.1076, allocations: 0.8063 MB / 418.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1077, allocations: 12.03 kB / 418.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.1077, allocations: 62.72 kB / 418.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.1078, allocations: 48.38 kB / 418.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.1088, allocations: 476.1 kB / 419.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1088, allocations: 24.5 kB / 419.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1088, allocations: 20 kB / 419.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.1093, allocations: 297.1 kB / 419.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1094, allocations: 7.938 kB / 419.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1094, allocations: 7.938 kB / 419.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1094, allocations: 8 kB / 419.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.1099, allocations: 245.5 kB / 419.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1119, allocations: 1.274 MB / 421.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.1123, allocations: 263.5 kB / 421.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.1126, allocations: 108.8 kB / 421.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1126, allocations: 4 kB / 421.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1127, allocations: 42.55 kB / 421.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1127, allocations: 224 / 421.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003234/0.1159, allocations: 0.7289 MB / 422.2 MB, free: 212 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1159, allocations: 51.41 kB / 422.3 MB, free: 148 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.118/0.234, allocations: 388.5 kB / 422.7 MB, free: 48.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.234, allocations: 27.36 kB / 422.7 MB, free: 48.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.2341, allocations: 217.5 kB / 422.9 MB, free: 48.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.2342, allocations: 36.95 kB / 422.9 MB, free: 48.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.2343, allocations: 53.81 kB / 423 MB, free: 48.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.2343, allocations: 342 kB / 423.3 MB, free: 47.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.2345, allocations: 101 kB / 423.4 MB, free: 47.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.2348, allocations: 135.8 kB / 423.6 MB, free: 47.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.2352, allocations: 213.6 kB / 423.8 MB, free: 47.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2352, allocations: 1.062 kB / 423.8 MB, free: 47.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002006/0.2372, allocations: 0.5595 MB / 424.3 MB, free: 47.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2372, allocations: 6.766 kB / 424.3 MB, free: 47.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2372, allocations: 0 / 424.3 MB, free: 47.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.238, allocations: 246.2 kB / 424.6 MB, free: 47.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.2382, allocations: 40.86 kB / 424.6 MB, free: 47.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.2507, allocations: 3.464 MB / 428.1 MB, free: 45.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.2511, allocations: 42.53 kB / 428.1 MB, free: 45.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.2511, allocations: 10.48 kB / 428.1 MB, free: 45.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.2513, allocations: 154.1 kB / 428.3 MB, free: 44.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.2514, allocations: 32 kB / 428.3 MB, free: 44.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.379e-05/0.2515, allocations: 38.2 kB / 428.4 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2515, allocations: 0 / 428.4 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2515, allocations: 0 / 428.4 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2515, allocations: 4.094 kB / 428.4 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.2544, allocations: 0.849 MB / 429.2 MB, free: 44.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2545, allocations: 3.312 kB / 429.2 MB, free: 44.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.2546, allocations: 22.66 kB / 429.2 MB, free: 44.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.255, allocations: 163.9 kB / 429.4 MB, free: 44.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2551, allocations: 1.438 kB / 429.4 MB, free: 44.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/0.2591, allocations: 1.867 MB / 431.3 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2591, allocations: 0 / 431.3 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.2615, allocations: 0.4968 MB / 431.8 MB, free: 42.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.2617, allocations: 130.9 kB / 431.9 MB, free: 42.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.2618, allocations: 0 / 431.9 MB, free: 42.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.2621, allocations: 25.25 kB / 431.9 MB, free: 42.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.2622, allocations: 18.55 kB / 431.9 MB, free: 42.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2622, allocations: 3.031 kB / 431.9 MB, free: 42.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003882/0.2626, allocations: 266.3 kB / 432.2 MB, free: 42.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2627, allocations: 2.969 kB / 432.2 MB, free: 42.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007742/0.2634, allocations: 93.91 kB / 432.3 MB, free: 42.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 8 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/0.266, allocations: 1.035 MB / 433.3 MB, free: 41.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.2672, allocations: 480.3 kB / 433.8 MB, free: 41.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2672, allocations: 3.188 kB / 433.8 MB, free: 41.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.2676, allocations: 199.9 kB / 434 MB, free: 41.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.2684, allocations: 69.28 kB / 434.1 MB, free: 41.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/0.2778, allocations: 3.733 MB / 437.8 MB, free: 39.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.2781, allocations: 0.7764 MB / 438.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.2784, allocations: 45.92 kB / 438.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.2785, allocations: 113.7 kB / 438.7 MB, free: 38.27 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2785, allocations: 0 / 438.7 MB, free: 38.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7954/1.074, allocations: 9.132 MB / 447.9 MB, free: 37.53 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.074, allocations: 206.8 kB / 448.1 MB, free: 37.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/3.24, allocations: 0 / 448.1 MB, free: 37.28 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)