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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.7 kB / 15.45 MB, free: 0.6523 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.413/1.413, allocations: 223.3 MB / 239.5 MB, free: 5.387 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.0008747/0.0008746, allocations: 98.41 kB / 290.6 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0231/0.0231, allocations: 5.392 MB / 347.2 MB, free: 7.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.000357, allocations: 8.844 kB / 413 MB, free: 46.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 51.61 MB / 464.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003156/0.1115, allocations: 3.034 MB / 467.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1134, allocations: 1.235 MB / 468.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.1138, allocations: 4 kB / 468.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.1146, allocations: 211 kB / 469.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006713/0.1153, allocations: 127.1 kB / 469.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1156, allocations: 99.91 kB / 469.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.1164, allocations: 0.5291 MB / 469.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.1167, allocations: 108.2 kB / 470 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1171, allocations: 171.2 kB / 470.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.1175, allocations: 226.9 kB / 470.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.1176, allocations: 28 kB / 470.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1177, allocations: 28 kB / 470.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1178, allocations: 75.59 kB / 470.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.118, allocations: 224.6 kB / 470.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.1186, allocations: 494.1 kB / 471.2 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1186, allocations: 0 / 471.2 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1186, allocations: 0 / 471.2 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1186, allocations: 0 / 471.2 MB, free: 11 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001762/0.1204, allocations: 0.752 MB / 472 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1204, allocations: 8.031 kB / 472 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.386e-05/0.1205, allocations: 70.66 kB / 472 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.1206, allocations: 44.38 kB / 472.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.1216, allocations: 0.4884 MB / 472.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1216, allocations: 16.5 kB / 472.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.1216, allocations: 24 kB / 472.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.1222, allocations: 309.1 kB / 472.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1222, allocations: 0 / 472.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.1223, allocations: 11.94 kB / 472.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1223, allocations: 12 kB / 472.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.1229, allocations: 265.5 kB / 473.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1248, allocations: 1.294 MB / 474.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.1254, allocations: 287.6 kB / 474.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.1257, allocations: 116.9 kB / 474.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1257, allocations: 4 kB / 474.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1257, allocations: 46.5 kB / 474.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1258, allocations: 0 / 474.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00334/0.1291, allocations: 0.8425 MB / 475.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1291, allocations: 55.34 kB / 475.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.1296, allocations: 385.6 kB / 476.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1296, allocations: 33.7 kB / 476.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1298, allocations: 215.8 kB / 476.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1298, allocations: 39.45 kB / 476.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.1298, allocations: 29.7 kB / 476.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.13, allocations: 338.8 kB / 476.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.1302, allocations: 115.9 kB / 477 MB, free: 4.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1305, allocations: 143.4 kB / 477.1 MB, free: 4.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.131, allocations: 243.4 kB / 477.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.131, allocations: 0 / 477.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002103/0.1331, allocations: 0.6115 MB / 477.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1332, allocations: 11.98 kB / 478 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1332, allocations: 4.062 kB / 478 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/0.134, allocations: 253.5 kB / 478.2 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.1342, allocations: 55.89 kB / 478.3 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.1393, allocations: 3.552 MB / 481.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.1398, allocations: 47.86 kB / 481.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1398, allocations: 15.92 kB / 481.9 MB, free: 15.7 MB / 318.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.000215/0.14, allocations: 149.7 kB / 482 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.1401, allocations: 31.62 kB / 482.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.1402, allocations: 35.12 kB / 482.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1402, allocations: 0 / 482.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1402, allocations: 3.984 kB / 482.1 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1402, allocations: 0 / 482.1 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.1424, allocations: 0.9134 MB / 483 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1424, allocations: 3.938 kB / 483 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.1425, allocations: 19.98 kB / 483 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.1429, allocations: 176.8 kB / 483.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1429, allocations: 8 kB / 483.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.1461, allocations: 1.944 MB / 485.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1462, allocations: 0 / 485.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.148, allocations: 0.5672 MB / 485.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.1481, allocations: 128.6 kB / 485.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.1482, allocations: 0 / 485.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.1485, allocations: 27.98 kB / 485.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1485, allocations: 12.06 kB / 485.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1485, allocations: 3.984 kB / 485.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.1489, allocations: 271.2 kB / 486.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1489, allocations: 0 / 486.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.1494, allocations: 91.84 kB / 486.2 MB, free: 11.08 MB / 318.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.002217/0.1516, allocations: 1.096 MB / 487.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.1529, allocations: 0.502 MB / 487.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1529, allocations: 0 / 487.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.1533, allocations: 210.8 kB / 488 MB, free: 9.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.154, allocations: 73.64 kB / 488.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/0.1621, allocations: 3.894 MB / 492 MB, free: 5.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1625, allocations: 0.7794 MB / 492.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.1628, allocations: 38.95 kB / 492.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1629, allocations: 115.4 kB / 492.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1629, allocations: 0 / 492.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.1827, allocations: 9 MB / 0.4902 GB, free: 11.36 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.1829, allocations: 213.9 kB / 0.4904 GB, free: 11.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.078, allocations: 3.938 kB / 0.4904 GB, free: 11.09 MB / 334.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/linux/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)