Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03086/0.03086, allocations: 5.483 MB / 317.9 MB, free: 13.73 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.89 kB / 446.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09648, allocations: 54.62 MB / 0.4891 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005347/0.1018, allocations: 3.558 MB / 0.4925 GB, free: 9.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1041, allocations: 1.344 MB / 0.4939 GB, free: 8.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.1044, allocations: 4 kB / 0.4939 GB, free: 8.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006431/0.1051, allocations: 242.6 kB / 0.4941 GB, free: 8.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.1055, allocations: 178.7 kB / 0.4943 GB, free: 7.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1058, allocations: 123.8 kB / 0.4944 GB, free: 7.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.1066, allocations: 0.6032 MB / 0.495 GB, free: 7.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1068, allocations: 84.58 kB / 0.495 GB, free: 7.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.1071, allocations: 235.1 kB / 0.4953 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.1075, allocations: 274.9 kB / 0.4955 GB, free: 6.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.762e-05/0.1076, allocations: 52 kB / 0.4956 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1078, allocations: 83.98 kB / 0.4957 GB, free: 6.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1079, allocations: 111.6 kB / 0.4958 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.1082, allocations: 242.8 kB / 0.496 GB, free: 6.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.1089, allocations: 0.572 MB / 0.4966 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1089, allocations: 0 / 0.4966 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1089, allocations: 0 / 0.4966 GB, free: 5.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.1089, allocations: 3.938 kB / 0.4966 GB, free: 5.477 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002201/0.1112, allocations: 0.7735 MB / 0.4973 GB, free: 4.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1112, allocations: 8.031 kB / 0.4973 GB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9e-05/0.1113, allocations: 62.72 kB / 0.4974 GB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1114, allocations: 56.61 kB / 0.4974 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1129, allocations: 451.8 kB / 0.4979 GB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.1129, allocations: 24.59 kB / 0.4979 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.113, allocations: 24 kB / 0.4979 GB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.1138, allocations: 366.3 kB / 0.4983 GB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1138, allocations: 4 kB / 0.4983 GB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.1139, allocations: 8 kB / 0.4983 GB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1139, allocations: 11.98 kB / 0.4983 GB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1149, allocations: 373.6 kB / 0.4986 GB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.1176, allocations: 1.382 MB / 0.5 GB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.1187, allocations: 351.2 kB / 0.5003 GB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.1192, allocations: 152.8 kB / 0.5005 GB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1192, allocations: 7.938 kB / 0.5005 GB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1193, allocations: 34.5 kB / 0.5005 GB, free: 1.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.1193, allocations: 0 / 0.5005 GB, free: 1.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003428/0.1227, allocations: 0.695 MB / 0.5012 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1228, allocations: 59.34 kB / 0.5013 GB, free: 480 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.1233, allocations: 393.6 kB / 0.5016 GB, free: 76 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.1233, allocations: 29.7 kB / 0.5017 GB, free: 40 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1235, allocations: 220.5 kB / 0.5019 GB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.1236, allocations: 91.3 kB / 0.502 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1237, allocations: 65.62 kB / 0.502 GB, free: 15.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1239, allocations: 350.7 kB / 0.5023 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.1244, allocations: 147.9 kB / 0.5025 GB, free: 15.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.1248, allocations: 188.4 kB / 0.5027 GB, free: 14.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.1258, allocations: 308.9 kB / 0.503 GB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1258, allocations: 0 / 0.503 GB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002094/0.1279, allocations: 0.5862 MB / 0.5035 GB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1279, allocations: 7.984 kB / 0.5035 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1279, allocations: 0 / 0.5035 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.1292, allocations: 337.4 kB / 0.5039 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1294, allocations: 59.91 kB / 0.5039 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.1323, allocations: 2.199 MB / 0.5061 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.1328, allocations: 55.83 kB / 0.5061 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.1328, allocations: 15.98 kB / 0.5061 GB, free: 11.25 MB / 382.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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.133, allocations: 145.8 kB / 0.5063 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/0.1331, allocations: 35.77 kB / 0.5063 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.1332, allocations: 55.66 kB / 0.5064 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1332, allocations: 7.938 kB / 0.5064 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1333, allocations: 4 kB / 0.5064 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1333, allocations: 0 / 0.5064 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.1352, allocations: 0.8736 MB / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.1352, allocations: 0 / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1354, allocations: 31.97 kB / 0.5073 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/0.1361, allocations: 252.6 kB / 0.5075 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.1361, allocations: 11.98 kB / 0.5075 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.1372, allocations: 0.7357 MB / 0.5082 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1372, allocations: 8.094 kB / 0.5082 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.1388, allocations: 0.5279 MB / 0.5088 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.139, allocations: 63.77 kB / 0.5088 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.139, allocations: 11.88 kB / 0.5088 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.1394, allocations: 31.91 kB / 0.5089 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1395, allocations: 15.98 kB / 0.5089 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1395, allocations: 7.984 kB / 0.5089 GB, free: 8.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003553/0.1398, allocations: 275.2 kB / 0.5091 GB, free: 8.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1398, allocations: 0 / 0.5091 GB, free: 8.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.1403, allocations: 95.88 kB / 0.5092 GB, free: 7.953 MB / 382.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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00207/0.1423, allocations: 1.083 MB / 0.5103 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.1437, allocations: 487.4 kB / 0.5108 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1437, allocations: 0 / 0.5108 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.1442, allocations: 147.9 kB / 0.5109 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.1447, allocations: 94.88 kB / 0.511 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/0.1523, allocations: 3.792 MB / 0.5147 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.1528, allocations: 0.7884 MB / 0.5155 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.153, allocations: 47.25 kB / 0.5155 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.1532, allocations: 123.4 kB / 0.5156 GB, free: 1.227 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1532, allocations: 0 / 0.5156 GB, free: 1.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2155/0.3686, allocations: 10.35 MB / 0.5257 GB, free: 32.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.65, allocations: 7.453 kB / 0.5257 GB, free: 32.1 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.268171602860093] Failed to read output from testmodel.py, exit status != 0: 13.77565621305257 13.795575223 13.68367068 Calling exit ...