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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0298/0.0298, allocations: 5.462 MB / 308.1 MB, free: 4.438 MB / 238.1 MB " [Timeout remaining time 180] 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.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: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.91 kB / 432.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09879/0.1007, allocations: 53.4 MB / 485.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005493/0.1062, allocations: 3.525 MB / 489 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1086, allocations: 1.281 MB / 490.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.1088, allocations: 7.938 kB / 490.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.1094, allocations: 234.6 kB / 490.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.1098, allocations: 182.7 kB / 490.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1101, allocations: 115.8 kB / 490.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008098/0.1109, allocations: 0.5988 MB / 491.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.1112, allocations: 92.09 kB / 491.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.1115, allocations: 223.1 kB / 491.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.1118, allocations: 278.8 kB / 492 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.1119, allocations: 52 kB / 492 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.112, allocations: 63.98 kB / 492.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1121, allocations: 115.6 kB / 492.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.1124, allocations: 246.8 kB / 492.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.1131, allocations: 0.5564 MB / 493 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1131, allocations: 0 / 493 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1131, allocations: 0 / 493 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1131, allocations: 0 / 493 MB, free: 2.547 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002112/0.1152, allocations: 0.8566 MB / 493.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1152, allocations: 8.031 kB / 493.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.49e-05/0.1153, allocations: 70.66 kB / 493.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.1154, allocations: 44.66 kB / 494 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.1169, allocations: 0.5145 MB / 494.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.1169, allocations: 24.5 kB / 494.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.117, allocations: 24 kB / 494.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/0.1178, allocations: 365.2 kB / 494.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1178, allocations: 4 kB / 494.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.1178, allocations: 8 kB / 494.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1178, allocations: 8 kB / 494.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1188, allocations: 365.9 kB / 495.3 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.1214, allocations: 1.418 MB / 496.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.1226, allocations: 427.5 kB / 497.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.123, allocations: 152.8 kB / 497.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1231, allocations: 4 kB / 497.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1231, allocations: 34.5 kB / 497.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.1231, allocations: 0 / 497.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.005766/0.1289, allocations: 1.029 MB / 498.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.1289, allocations: 51.5 kB / 498.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.1294, allocations: 393.6 kB / 498.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.1295, allocations: 33.64 kB / 498.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1297, allocations: 232.5 kB / 499 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1297, allocations: 75.31 kB / 499.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1299, allocations: 69.67 kB / 499.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1301, allocations: 354.7 kB / 499.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.1305, allocations: 147.8 kB / 499.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.1309, allocations: 183.6 kB / 499.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000817/0.1318, allocations: 314.3 kB / 0.4884 GB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1318, allocations: 4 kB / 0.4884 GB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004215/0.136, allocations: 0.828 MB / 0.4892 GB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.136, allocations: 8 kB / 0.4892 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.136, allocations: 0 / 0.4892 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.1372, allocations: 329.5 kB / 0.4896 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.1375, allocations: 51.91 kB / 0.4896 GB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009107/0.1466, allocations: 4.329 MB / 0.4938 GB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.1471, allocations: 47.84 kB / 0.4939 GB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.1471, allocations: 16.05 kB / 0.4939 GB, free: 5.16 MB / 366.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.0002174/0.1473, allocations: 157.8 kB / 0.494 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.1474, allocations: 39.75 kB / 0.4941 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.434e-05/0.1475, allocations: 39.59 kB / 0.4941 GB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1475, allocations: 3.938 kB / 0.4941 GB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1475, allocations: 0 / 0.4941 GB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1475, allocations: 3.984 kB / 0.4941 GB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.1519, allocations: 1.183 MB / 0.4953 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1519, allocations: 0 / 0.4953 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1521, allocations: 27.98 kB / 0.4953 GB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000691/0.1528, allocations: 252.6 kB / 0.4955 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.1528, allocations: 11.98 kB / 0.4956 GB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006905/0.1597, allocations: 2.558 MB / 0.4981 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1597, allocations: 3.938 kB / 0.4981 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.1635, allocations: 0.766 MB / 0.4988 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.1637, allocations: 144.8 kB / 0.4989 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.1638, allocations: 4 kB / 0.499 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.1641, allocations: 31.97 kB / 0.499 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.1642, allocations: 15.92 kB / 0.499 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.1642, allocations: 19.92 kB / 0.499 GB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.1645, allocations: 279.2 kB / 0.4993 GB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1645, allocations: 0 / 0.4993 GB, free: 15.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00056/0.1651, allocations: 115.8 kB / 0.4994 GB, free: 15.27 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.004061/0.1692, allocations: 1.311 MB / 0.5007 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.1706, allocations: 0.6027 MB / 0.5013 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1706, allocations: 0 / 0.5013 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.1712, allocations: 265.4 kB / 0.5015 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.1718, allocations: 80.11 kB / 0.5016 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.1844, allocations: 4.383 MB / 0.5059 GB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.1849, allocations: 0.7886 MB / 0.5066 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.1851, allocations: 47.27 kB / 0.5067 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.1853, allocations: 123.4 kB / 0.5068 GB, free: 7.461 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1853, allocations: 0 / 0.5068 GB, free: 7.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2367/0.422, allocations: 12.05 MB / 0.5186 GB, free: 43.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.82, allocations: 6.094 kB / 0.5186 GB, free: 43.39 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.363048317842185] Failed to read output from testmodel.py, exit status != 0: 12.926565025001764 12.940995388 12.825166104 Calling exit ...