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/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.001792/0.001792, allocations: 105.5 kB / 16.45 MB, free: 6.504 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.001921/0.001921, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.02924/0.02924, allocations: 5.468 MB / 308.1 MB, free: 4.43 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003135/0.003135, allocations: 60.14 kB / 432.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1401, allocations: 53.41 MB / 485.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005564/0.1456, allocations: 3.385 MB / 488.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.148, allocations: 1.262 MB / 490.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.1483, allocations: 8 kB / 490.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.149, allocations: 230.7 kB / 490.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.1496, allocations: 162.9 kB / 490.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1498, allocations: 107.9 kB / 490.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007454/0.1506, allocations: 0.5643 MB / 491.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1508, allocations: 84.11 kB / 491.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.1512, allocations: 219.2 kB / 491.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.1516, allocations: 251 kB / 491.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.1517, allocations: 52 kB / 491.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1519, allocations: 59.98 kB / 491.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.152, allocations: 115.5 kB / 491.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.1523, allocations: 226.9 kB / 492.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007252/0.153, allocations: 0.5253 MB / 492.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.153, allocations: 4 kB / 492.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.153, allocations: 0 / 492.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.153, allocations: 0 / 492.7 MB, free: 2.844 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002483/0.1555, allocations: 0.8293 MB / 493.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1556, allocations: 12.03 kB / 493.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.996e-05/0.1557, allocations: 50.73 kB / 493.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1558, allocations: 48.66 kB / 493.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.1571, allocations: 492.5 kB / 494.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1572, allocations: 24.5 kB / 494.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.1572, allocations: 24 kB / 494.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.1578, allocations: 289.1 kB / 494.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1579, allocations: 0 / 494.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1579, allocations: 12 kB / 494.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1579, allocations: 4 kB / 494.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.1585, allocations: 253.5 kB / 494.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.1611, allocations: 1.255 MB / 496 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.1616, allocations: 255.6 kB / 496.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.1619, allocations: 104.8 kB / 496.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.162, allocations: 4 kB / 496.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.162, allocations: 38.5 kB / 496.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.162, allocations: 0 / 496.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.003616/0.1656, allocations: 0.7332 MB / 497.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1657, allocations: 55.34 kB / 497.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/0.1662, allocations: 389.6 kB / 497.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1663, allocations: 29.7 kB / 497.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1665, allocations: 220.1 kB / 497.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.1665, allocations: 47.64 kB / 497.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.1666, allocations: 49.69 kB / 497.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1668, allocations: 342.8 kB / 498.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.1671, allocations: 99.92 kB / 498.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.1674, allocations: 140.2 kB / 498.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.1679, allocations: 215.3 kB / 498.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.168, allocations: 3.938 kB / 498.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002322/0.1703, allocations: 0.5548 MB / 499.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1703, allocations: 8 kB / 499.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1703, allocations: 64 / 499.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009006/0.1712, allocations: 249.6 kB / 499.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1714, allocations: 48 kB / 499.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/0.1774, allocations: 3.79 MB / 0.4915 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.1778, allocations: 39.81 kB / 0.4915 GB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.1778, allocations: 8 kB / 0.4915 GB, free: 7.562 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 (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.0002081/0.178, allocations: 149.8 kB / 0.4917 GB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.1781, allocations: 39.7 kB / 0.4917 GB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.193e-05/0.1782, allocations: 39.11 kB / 0.4918 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1782, allocations: 0 / 0.4918 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1782, allocations: 0 / 0.4918 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1782, allocations: 0 / 0.4918 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.1806, allocations: 0.8471 MB / 0.4926 GB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1806, allocations: 0 / 0.4926 GB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/0.1807, allocations: 19.98 kB / 0.4926 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.181, allocations: 164.8 kB / 0.4928 GB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1811, allocations: 4 kB / 0.4928 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.1846, allocations: 2.012 MB / 0.4947 GB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1846, allocations: 0 / 0.4947 GB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.1864, allocations: 0.5045 MB / 0.4952 GB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.1866, allocations: 132.8 kB / 0.4953 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.1867, allocations: 0 / 0.4953 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.187, allocations: 23.98 kB / 0.4954 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.187, allocations: 11.98 kB / 0.4954 GB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.187, allocations: 0 / 0.4954 GB, free: 3.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003591/0.1874, allocations: 271.2 kB / 0.4956 GB, free: 3.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1874, allocations: 0 / 0.4956 GB, free: 3.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005029/0.1879, allocations: 95.83 kB / 0.4957 GB, free: 3.012 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 (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.002122/0.19, allocations: 1.038 MB / 0.4967 GB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.191, allocations: 486 kB / 0.4972 GB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.191, allocations: 0 / 0.4972 GB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.1914, allocations: 198.6 kB / 0.4974 GB, free: 1.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.1919, allocations: 77.59 kB / 0.4975 GB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/0.2001, allocations: 3.611 MB / 0.501 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.2006, allocations: 0.7794 MB / 0.5018 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.2008, allocations: 46.94 kB / 0.5018 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.201, allocations: 111.4 kB / 0.5019 GB, free: 12.47 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.201, allocations: 0 / 0.5019 GB, free: 12.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04229/0.2433, allocations: 9.809 MB / 0.5115 GB, free: 2.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.28, allocations: 7.953 kB / 0.5115 GB, free: 2.797 MB / 382.1 MB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.093953750096262] Failed to read output from testmodel.py, exit status != 0: 12.374374862760305 12.576577491 12.420840708 Calling exit ...