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.001307/0.001307, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001529/0.001529, allocations: 214.6 kB / 22.25 MB, free: 4.855 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.797 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.03035/0.03035, allocations: 5.484 MB / 317.9 MB, free: 13.52 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.002093/0.002093, allocations: 71.89 kB / 446.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1085, allocations: 54.61 MB / 0.489 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005315/0.1138, allocations: 3.26 MB / 0.4922 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1164, allocations: 1.219 MB / 0.4933 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.1168, allocations: 4 kB / 0.4933 GB, free: 8.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.1176, allocations: 218.7 kB / 0.4936 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.1182, allocations: 174.8 kB / 0.4937 GB, free: 8.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1185, allocations: 127.8 kB / 0.4938 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007708/0.1193, allocations: 0.6109 MB / 0.4944 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.1195, allocations: 72.59 kB / 0.4945 GB, free: 7.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.1198, allocations: 239.1 kB / 0.4947 GB, free: 6.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.1201, allocations: 238.9 kB / 0.495 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.1202, allocations: 56 kB / 0.495 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1204, allocations: 75.98 kB / 0.4951 GB, free: 6.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1205, allocations: 123.5 kB / 0.4952 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.1207, allocations: 199.1 kB / 0.4954 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006689/0.1214, allocations: 0.5642 MB / 0.496 GB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1214, allocations: 8 kB / 0.496 GB, free: 5.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1214, allocations: 0 / 0.496 GB, free: 5.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1214, allocations: 0 / 0.496 GB, free: 5.715 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.001975/0.1233, allocations: 0.7735 MB / 0.4967 GB, free: 4.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1234, allocations: 12.03 kB / 0.4967 GB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.89e-05/0.1235, allocations: 62.72 kB / 0.4968 GB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.1236, allocations: 52.61 kB / 0.4968 GB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.1249, allocations: 459.7 kB / 0.4973 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.125, allocations: 20.59 kB / 0.4973 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.125, allocations: 28 kB / 0.4973 GB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000823/0.1258, allocations: 388 kB / 0.4977 GB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1258, allocations: 0 / 0.4977 GB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.1259, allocations: 15.94 kB / 0.4977 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1259, allocations: 8 kB / 0.4977 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1269, allocations: 365.6 kB / 0.4981 GB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.1295, allocations: 1.243 MB / 0.4993 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.1306, allocations: 359.4 kB / 0.4996 GB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.1311, allocations: 148.8 kB / 0.4998 GB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1312, allocations: 4 kB / 0.4998 GB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1312, allocations: 34.5 kB / 0.4998 GB, free: 1.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.034e-06/0.1312, allocations: 4 kB / 0.4998 GB, free: 1.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003417/0.1346, allocations: 0.6892 MB / 0.5005 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1347, allocations: 55.41 kB / 0.5005 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.1352, allocations: 401.5 kB / 0.5009 GB, free: 444 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1352, allocations: 29.7 kB / 0.5009 GB, free: 408 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.1354, allocations: 228.5 kB / 0.5012 GB, free: 176 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.1354, allocations: 79.42 kB / 0.5012 GB, free: 96 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1356, allocations: 73.59 kB / 0.5013 GB, free: 16 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1358, allocations: 354.7 kB / 0.5016 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.1362, allocations: 139.9 kB / 0.5018 GB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.1367, allocations: 188.3 kB / 0.502 GB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.1375, allocations: 308.9 kB / 0.5022 GB, free: 15.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1376, allocations: 4 kB / 0.5023 GB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002047/0.1396, allocations: 0.5901 MB / 0.5028 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1396, allocations: 4 kB / 0.5028 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1396, allocations: 0 / 0.5028 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.1408, allocations: 341.3 kB / 0.5032 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.1411, allocations: 51.97 kB / 0.5032 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.1439, allocations: 2.206 MB / 0.5054 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.1443, allocations: 47.75 kB / 0.5054 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1444, allocations: 15.98 kB / 0.5054 GB, free: 11.61 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.0002099/0.1446, allocations: 149.8 kB / 0.5056 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/0.1447, allocations: 43.83 kB / 0.5056 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1448, allocations: 39.64 kB / 0.5056 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1448, allocations: 7.938 kB / 0.5057 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.1448, allocations: 3.984 kB / 0.5057 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1448, allocations: 0 / 0.5057 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.1468, allocations: 0.8306 MB / 0.5065 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1468, allocations: 0 / 0.5065 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.1469, allocations: 31.97 kB / 0.5065 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006971/0.1476, allocations: 256.6 kB / 0.5067 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.1476, allocations: 3.984 kB / 0.5067 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.1487, allocations: 0.7474 MB / 0.5075 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.1487, allocations: 8.125 kB / 0.5075 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.1503, allocations: 0.5373 MB / 0.508 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.1505, allocations: 63.67 kB / 0.5081 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.1505, allocations: 7.922 kB / 0.5081 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.1509, allocations: 23.98 kB / 0.5081 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.151, allocations: 19.97 kB / 0.5081 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.151, allocations: 11.98 kB / 0.5081 GB, free: 8.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.1513, allocations: 275.2 kB / 0.5084 GB, free: 8.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1513, allocations: 0 / 0.5084 GB, free: 8.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.1517, allocations: 91.89 kB / 0.5085 GB, free: 8.355 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.001949/0.1537, allocations: 1.083 MB / 0.5095 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.1551, allocations: 487.4 kB / 0.51 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1551, allocations: 0 / 0.51 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.1555, allocations: 147.2 kB / 0.5101 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.1561, allocations: 85.31 kB / 0.5102 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/0.1633, allocations: 3.801 MB / 0.5139 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.1634, allocations: 187.6 kB / 0.5141 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.1636, allocations: 47.25 kB / 0.5142 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.1638, allocations: 123.4 kB / 0.5143 GB, free: 2.234 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1638, allocations: 0 / 0.5143 GB, free: 2.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2315/0.3953, allocations: 10.32 MB / 0.5244 GB, free: 32.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.34, allocations: 5.531 kB / 0.5244 GB, free: 32.46 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.97139693889767] Failed to read output from testmodel.py, exit status != 0: 13.464643367100507 13.479227876 13.355177942 Calling exit ...