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.001472/0.001471, allocations: 108 kB / 15.61 MB, free: 152 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.001633/0.001633, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1956/0.1956, allocations: 5.386 MB / 295.8 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.89 kB / 361 MB, free: 14.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1248, allocations: 50.61 MB / 411.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005779/0.1307, allocations: 3.369 MB / 415 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1331, allocations: 1.262 MB / 416.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.1336, allocations: 7.938 kB / 416.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006993/0.1343, allocations: 210.8 kB / 416.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.1351, allocations: 146.9 kB / 416.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1355, allocations: 115.8 kB / 416.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00091/0.1364, allocations: 0.5565 MB / 417.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.1368, allocations: 128.1 kB / 417.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.1372, allocations: 211.2 kB / 417.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.1377, allocations: 243 kB / 417.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.1378, allocations: 59.98 kB / 417.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.138, allocations: 63.98 kB / 418 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1382, allocations: 107.6 kB / 418.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.1386, allocations: 226.9 kB / 418.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.1393, allocations: 0.5256 MB / 418.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1393, allocations: 0 / 418.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1393, allocations: 0 / 418.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.1394, allocations: 0 / 418.8 MB, free: 4.125 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.002345/0.1417, allocations: 0.8141 MB / 419.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1418, allocations: 8.031 kB / 419.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/0.1419, allocations: 54.73 kB / 419.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.142, allocations: 44.38 kB / 419.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1433, allocations: 488.1 kB / 420.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.1433, allocations: 24.5 kB / 420.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.1434, allocations: 24 kB / 420.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.1441, allocations: 297.1 kB / 420.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1441, allocations: 0 / 420.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.1441, allocations: 12 kB / 420.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1442, allocations: 4 kB / 420.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.1449, allocations: 249.5 kB / 420.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.1474, allocations: 1.274 MB / 422.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.1479, allocations: 259.6 kB / 422.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1483, allocations: 120.8 kB / 422.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1483, allocations: 224 / 422.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1484, allocations: 34.5 kB / 422.5 MB, free: 224 kB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.1484, allocations: 0 / 422.5 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.2267/0.3751, allocations: 0.7242 MB / 423.2 MB, free: 48.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3751, allocations: 54.22 kB / 423.3 MB, free: 48.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.3757, allocations: 383.8 kB / 423.7 MB, free: 47.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3757, allocations: 31.39 kB / 423.7 MB, free: 47.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3759, allocations: 218.6 kB / 423.9 MB, free: 47.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3759, allocations: 35.3 kB / 423.9 MB, free: 47.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.376, allocations: 54.83 kB / 424 MB, free: 47.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.3761, allocations: 351.9 kB / 424.3 MB, free: 47.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.3764, allocations: 101.2 kB / 424.4 MB, free: 47.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.3767, allocations: 134 kB / 424.6 MB, free: 47.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.3771, allocations: 217.8 kB / 424.8 MB, free: 47.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3771, allocations: 0 / 424.8 MB, free: 47.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00196/0.3791, allocations: 0.5553 MB / 425.3 MB, free: 47.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3791, allocations: 10.34 kB / 425.3 MB, free: 47.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3791, allocations: 0 / 425.3 MB, free: 47.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008119/0.3799, allocations: 248.6 kB / 425.6 MB, free: 47.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.3802, allocations: 38.14 kB / 425.6 MB, free: 47.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.385, allocations: 3.79 MB / 429.4 MB, free: 44.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.3854, allocations: 36.31 kB / 429.4 MB, free: 44.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3854, allocations: 12.36 kB / 429.5 MB, free: 44.38 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.0001804/0.3856, allocations: 144.8 kB / 429.6 MB, free: 44.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3857, allocations: 37.78 kB / 429.6 MB, free: 44.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.3857, allocations: 29.84 kB / 429.7 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3857, allocations: 8.5 kB / 429.7 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3858, allocations: 3.422 kB / 429.7 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3858, allocations: 0 / 429.7 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.3877, allocations: 0.8423 MB / 430.5 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3878, allocations: 1.078 kB / 430.5 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.116e-05/0.3879, allocations: 32.84 kB / 430.6 MB, free: 43.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.3882, allocations: 163.6 kB / 430.7 MB, free: 43.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3882, allocations: 2.938 kB / 430.7 MB, free: 43.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.3911, allocations: 2.005 MB / 432.7 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3911, allocations: 7.797 kB / 432.7 MB, free: 42.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.3927, allocations: 0.5021 MB / 433.2 MB, free: 41.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3928, allocations: 128.4 kB / 433.4 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3929, allocations: 7.938 kB / 433.4 MB, free: 41.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3932, allocations: 23.64 kB / 433.4 MB, free: 41.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3932, allocations: 13.64 kB / 433.4 MB, free: 41.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3932, allocations: 3.125 kB / 433.4 MB, free: 41.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.3935, allocations: 264.9 kB / 433.7 MB, free: 41.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3935, allocations: 3.188 kB / 433.7 MB, free: 41.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.394, allocations: 87.84 kB / 433.7 MB, free: 41.56 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.001748/0.3957, allocations: 1.041 MB / 434.8 MB, free: 40.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009455/0.3967, allocations: 495.3 kB / 435.3 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3967, allocations: 0 / 435.3 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.397, allocations: 200 kB / 435.5 MB, free: 40.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.3976, allocations: 81.2 kB / 435.5 MB, free: 40.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.4043, allocations: 3.632 MB / 439.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.4046, allocations: 0.7866 MB / 440 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.4048, allocations: 39.25 kB / 440 MB, free: 37.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.405, allocations: 114.4 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.405, allocations: 0 / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.437, allocations: 9.624 MB / 449.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.69, allocations: 4.781 kB / 449.7 MB, free: 36.64 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)