Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",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.00105/0.00105, allocations: 178.1 kB / 15.44 MB, free: 0.6562 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.418/1.418, allocations: 223.3 MB / 239.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 91.75 kB / 290.6 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02312/0.02312, allocations: 5.389 MB / 347.2 MB, free: 7.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003379, allocations: 10.31 kB / 413 MB, free: 46.17 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 51.61 MB / 464.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003598/0.1113, allocations: 2.941 MB / 467.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1136, allocations: 1.204 MB / 468.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.114, allocations: 4 kB / 468.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.1147, allocations: 203 kB / 469 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.1151, allocations: 127.2 kB / 469.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1153, allocations: 91.91 kB / 469.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.1157, allocations: 0.4942 MB / 469.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1159, allocations: 97.06 kB / 469.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.1161, allocations: 175.1 kB / 470 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1164, allocations: 203.1 kB / 470.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.509e-05/0.1164, allocations: 24 kB / 470.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1165, allocations: 24 kB / 470.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1166, allocations: 75.64 kB / 470.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.1168, allocations: 208.7 kB / 470.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.1172, allocations: 470.2 kB / 470.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1172, allocations: 0 / 470.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1172, allocations: 0 / 470.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1172, allocations: 0 / 470.9 MB, free: 11.31 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00162/0.1188, allocations: 0.7402 MB / 471.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1189, allocations: 8.031 kB / 471.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/0.1189, allocations: 54.73 kB / 471.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.119, allocations: 40.47 kB / 471.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.1199, allocations: 472 kB / 472.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1199, allocations: 24.38 kB / 472.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1199, allocations: 20 kB / 472.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.1205, allocations: 291.4 kB / 472.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1205, allocations: 3.938 kB / 472.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1205, allocations: 4 kB / 472.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1205, allocations: 8 kB / 472.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.1211, allocations: 253 kB / 472.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.1231, allocations: 1.281 MB / 474.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.1235, allocations: 166.4 kB / 474.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.1238, allocations: 116.8 kB / 474.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1238, allocations: 7.938 kB / 474.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1238, allocations: 34.56 kB / 474.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1238, allocations: 0 / 474.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007425/0.1246, allocations: 281.3 kB / 474.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1246, allocations: 55.41 kB / 474.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.125, allocations: 369.6 kB / 475.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1251, allocations: 25.7 kB / 475.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1252, allocations: 215.7 kB / 475.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1253, allocations: 27.61 kB / 475.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1253, allocations: 17.72 kB / 475.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1255, allocations: 354.7 kB / 475.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1257, allocations: 99.94 kB / 475.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.126, allocations: 152.2 kB / 476 MB, free: 5.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.1265, allocations: 225 kB / 476.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1265, allocations: 0 / 476.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009699/0.1275, allocations: 368.3 kB / 476.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1275, allocations: 10.34 kB / 476.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1276, allocations: 3.938 kB / 476.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.128, allocations: 80.84 kB / 476.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.1283, allocations: 63.83 kB / 476.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.1297, allocations: 1.463 MB / 478.2 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.1301, allocations: 47.75 kB / 478.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1301, allocations: 4 kB / 478.2 MB, free: 3.562 MB / 302.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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001647/0.1303, allocations: 145.8 kB / 478.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.1303, allocations: 35.56 kB / 478.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1304, allocations: 31.06 kB / 478.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1304, allocations: 4 kB / 478.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1304, allocations: 0 / 478.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1304, allocations: 0 / 478.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/0.1313, allocations: 0.6122 MB / 479.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1313, allocations: 4 kB / 479.1 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1315, allocations: 36 kB / 479.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1315, allocations: 0 / 479.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1315, allocations: 3.984 kB / 479.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1315, allocations: 11.88 kB / 479.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1316, allocations: 0 / 479.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.1321, allocations: 311.9 kB / 479.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1322, allocations: 132.6 kB / 479.6 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1322, allocations: 0 / 479.6 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1324, allocations: 27.97 kB / 479.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1325, allocations: 0 / 479.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1325, allocations: 7.984 kB / 479.6 MB, free: 2.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.1328, allocations: 259.2 kB / 479.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1328, allocations: 4 kB / 479.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.1331, allocations: 71.84 kB / 479.9 MB, free: 1.777 MB / 302.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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007544/0.1339, allocations: 0.8378 MB / 480.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007502/0.1346, allocations: 371.5 kB / 481.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1347, allocations: 0 / 481.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1349, allocations: 80.02 kB / 481.2 MB, free: 464 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.1354, allocations: 76.3 kB / 481.3 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.14, allocations: 3.271 MB / 484.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1403, allocations: 0.7678 MB / 485.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.1405, allocations: 46.94 kB / 485.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.1406, allocations: 107.4 kB / 485.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1407, allocations: 0 / 485.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.1577, allocations: 6.469 MB / 491.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.1579, allocations: 218.1 kB / 492.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.979, allocations: 0 / 492.1 MB, free: 5.551 MB / 318.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)