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.001358/0.001358, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.001623/0.001623, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.436/1.436, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.03032/0.03032, allocations: 5.392 MB / 302.6 MB, free: 7.383 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.002007/0.002007, allocations: 67.89 kB / 421 MB, free: 21.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09921, allocations: 50.62 MB / 471.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.00562/0.1049, allocations: 3.517 MB / 475.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.1076, allocations: 1.274 MB / 476.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.108, allocations: 4 kB / 476.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006966/0.1087, allocations: 222.6 kB / 476.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.1092, allocations: 170.7 kB / 476.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1095, allocations: 119.8 kB / 476.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.1102, allocations: 0.5915 MB / 477.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.1105, allocations: 128.1 kB / 477.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.1108, allocations: 227.1 kB / 477.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.1112, allocations: 270.9 kB / 478.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.1113, allocations: 56 kB / 478.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1114, allocations: 60 kB / 478.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1116, allocations: 119.5 kB / 478.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.1118, allocations: 242.8 kB / 478.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007302/0.1126, allocations: 0.5564 MB / 479.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1126, allocations: 0 / 479.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.1126, allocations: 8 kB / 479.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.1126, allocations: 0 / 479.2 MB, free: 11.67 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.002147/0.1148, allocations: 0.8449 MB / 480 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1149, allocations: 12.03 kB / 480 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.21e-05/0.1149, allocations: 62.67 kB / 480.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1151, allocations: 52.66 kB / 480.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.1165, allocations: 0.5145 MB / 480.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1166, allocations: 24.5 kB / 480.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.1166, allocations: 24 kB / 480.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.1175, allocations: 369.2 kB / 481.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1175, allocations: 0 / 481.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.1175, allocations: 16 kB / 481.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1176, allocations: 4 kB / 481.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1186, allocations: 365.9 kB / 481.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.1212, allocations: 1.414 MB / 482.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1224, allocations: 449.8 kB / 483.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.123, allocations: 164.7 kB / 483.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.123, allocations: 4.094 kB / 483.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1231, allocations: 42.44 kB / 483.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.1231, allocations: 0 / 483.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005829/0.1289, allocations: 1.018 MB / 484.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.129, allocations: 55.41 kB / 484.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.1296, allocations: 389.7 kB / 485 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.1297, allocations: 29.7 kB / 485 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1299, allocations: 228.5 kB / 485.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.13, allocations: 87.3 kB / 485.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1301, allocations: 61.67 kB / 485.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.1304, allocations: 358.7 kB / 485.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.1308, allocations: 159.7 kB / 485.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.1313, allocations: 175.6 kB / 486 MB, free: 4.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.1322, allocations: 310.3 kB / 486.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1322, allocations: 0 / 486.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004374/0.1366, allocations: 0.8358 MB / 487.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.1366, allocations: 8 kB / 487.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1367, allocations: 0 / 487.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.1379, allocations: 329.5 kB / 487.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1382, allocations: 51.91 kB / 487.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/0.1473, allocations: 4.325 MB / 491.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.1478, allocations: 51.81 kB / 491.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.1479, allocations: 11.98 kB / 491.9 MB, free: 14.26 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.0002367/0.1481, allocations: 157.7 kB / 492.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.1482, allocations: 35.77 kB / 492.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.1483, allocations: 51.67 kB / 492.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1483, allocations: 3.938 kB / 492.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1484, allocations: 0 / 492.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1484, allocations: 0 / 492.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/0.1528, allocations: 1.175 MB / 493.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1528, allocations: 0 / 493.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.153, allocations: 31.97 kB / 493.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007269/0.1537, allocations: 252.6 kB / 493.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.1538, allocations: 7.984 kB / 493.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007065/0.1608, allocations: 2.566 MB / 496.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1609, allocations: 0 / 496.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/0.1648, allocations: 0.7769 MB / 497 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.1651, allocations: 144.7 kB / 497.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.1652, allocations: 4 kB / 497.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.1655, allocations: 31.97 kB / 497.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.1656, allocations: 15.98 kB / 497.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.1657, allocations: 15.92 kB / 497.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.166, allocations: 275.2 kB / 497.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.166, allocations: 0 / 497.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005672/0.1666, allocations: 115.8 kB / 497.6 MB, free: 8.375 MB / 366.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.004194/0.1708, allocations: 1.319 MB / 498.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.1725, allocations: 0.6064 MB / 499.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.1725, allocations: 4 kB / 499.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.1731, allocations: 274.5 kB / 499.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.1738, allocations: 93.44 kB / 499.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.187, allocations: 4.363 MB / 0.4924 GB, free: 1.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.1876, allocations: 0.7925 MB / 0.4932 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.1879, allocations: 51.19 kB / 0.4932 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.1881, allocations: 123.4 kB / 0.4933 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1881, allocations: 0 / 0.4933 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.2349, allocations: 11.99 MB / 0.5051 GB, free: 4.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.49, allocations: 10.97 kB / 0.5051 GB, free: 4.68 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.258058662060648] Failed to read output from testmodel.py, exit status != 0: 12.58713738201186 12.787949742 12.673141492 Calling exit ...