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.001321/0.001321, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001517/0.001517, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.659/1.659, allocations: 230.6 MB / 256 MB, free: 7.789 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.03126/0.03126, allocations: 5.476 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.00252/0.00252, allocations: 65.78 kB / 446.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1359, allocations: 54.62 MB / 0.489 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005088/0.141, allocations: 3.248 MB / 0.4921 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1431, allocations: 1.231 MB / 0.4934 GB, free: 8.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.1432, allocations: 4 kB / 0.4934 GB, free: 8.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.1438, allocations: 214.7 kB / 0.4936 GB, free: 8.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1442, allocations: 178.8 kB / 0.4937 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1444, allocations: 119.8 kB / 0.4938 GB, free: 7.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000686/0.1451, allocations: 0.607 MB / 0.4944 GB, free: 7.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.1453, allocations: 76.59 kB / 0.4945 GB, free: 7.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.1456, allocations: 239 kB / 0.4947 GB, free: 6.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.146, allocations: 246.9 kB / 0.495 GB, free: 6.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.146, allocations: 56 kB / 0.495 GB, free: 6.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1462, allocations: 72 kB / 0.4951 GB, free: 6.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1463, allocations: 119.6 kB / 0.4952 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.1465, allocations: 203 kB / 0.4954 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.1473, allocations: 0.5642 MB / 0.496 GB, free: 5.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1473, allocations: 0 / 0.496 GB, free: 5.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1473, allocations: 4 kB / 0.496 GB, free: 5.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1473, allocations: 4 kB / 0.496 GB, free: 5.695 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.00204/0.1493, allocations: 0.7696 MB / 0.4967 GB, free: 4.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1494, allocations: 8.031 kB / 0.4967 GB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.157e-05/0.1495, allocations: 66.72 kB / 0.4968 GB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.1496, allocations: 52.61 kB / 0.4968 GB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.1509, allocations: 467.7 kB / 0.4973 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1509, allocations: 20.59 kB / 0.4973 GB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.151, allocations: 28 kB / 0.4973 GB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.1518, allocations: 392 kB / 0.4977 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1518, allocations: 0 / 0.4977 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.1519, allocations: 12 kB / 0.4977 GB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1519, allocations: 8 kB / 0.4977 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.1529, allocations: 361.6 kB / 0.4981 GB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.1554, allocations: 1.25 MB / 0.4993 GB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1565, allocations: 353.4 kB / 0.4996 GB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.157, allocations: 152.8 kB / 0.4998 GB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1571, allocations: 4 kB / 0.4998 GB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1571, allocations: 38.48 kB / 0.4998 GB, free: 1.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.1571, allocations: 0 / 0.4998 GB, free: 1.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003246/0.1603, allocations: 0.6892 MB / 0.5005 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1604, allocations: 55.41 kB / 0.5005 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.1608, allocations: 401.5 kB / 0.5009 GB, free: 416 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.1609, allocations: 29.7 kB / 0.5009 GB, free: 380 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1611, allocations: 224.5 kB / 0.5012 GB, free: 152 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.1611, allocations: 79.42 kB / 0.5012 GB, free: 72 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.1613, allocations: 69.67 kB / 0.5013 GB, free: 15.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1614, allocations: 358.7 kB / 0.5016 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.1619, allocations: 143.8 kB / 0.5018 GB, free: 15.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.1623, allocations: 188.3 kB / 0.502 GB, free: 15.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.1632, allocations: 308.9 kB / 0.5023 GB, free: 14.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1632, allocations: 0 / 0.5023 GB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001994/0.1651, allocations: 0.5902 MB / 0.5028 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1652, allocations: 4 kB / 0.5028 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1652, allocations: 0 / 0.5028 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.1664, allocations: 337.3 kB / 0.5032 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.1666, allocations: 55.95 kB / 0.5032 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.1694, allocations: 2.206 MB / 0.5054 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.1698, allocations: 47.75 kB / 0.5054 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.1699, allocations: 15.98 kB / 0.5054 GB, free: 11.58 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.0001983/0.1701, allocations: 149.8 kB / 0.5056 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.1701, allocations: 35.77 kB / 0.5056 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1702, allocations: 51.75 kB / 0.5057 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1702, allocations: 3.938 kB / 0.5057 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1702, allocations: 4 kB / 0.5057 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1702, allocations: 0 / 0.5057 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.1721, allocations: 0.8228 MB / 0.5065 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1721, allocations: 0 / 0.5065 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1723, allocations: 31.97 kB / 0.5065 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007046/0.173, allocations: 260.7 kB / 0.5067 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.173, allocations: 7.922 kB / 0.5067 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1741, allocations: 0.7435 MB / 0.5075 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1741, allocations: 0 / 0.5075 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.1757, allocations: 0.5413 MB / 0.508 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.1759, allocations: 67.66 kB / 0.5081 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.1759, allocations: 3.938 kB / 0.5081 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.1763, allocations: 27.97 kB / 0.5081 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1763, allocations: 7.984 kB / 0.5081 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1763, allocations: 15.98 kB / 0.5081 GB, free: 8.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003203/0.1767, allocations: 279.2 kB / 0.5084 GB, free: 8.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1767, allocations: 0 / 0.5084 GB, free: 8.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.177, allocations: 95.88 kB / 0.5085 GB, free: 8.336 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.002039/0.1791, allocations: 1.084 MB / 0.5095 GB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.1804, allocations: 477.5 kB / 0.51 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1805, allocations: 7.938 kB / 0.51 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.1809, allocations: 151.2 kB / 0.5101 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.1815, allocations: 92.66 kB / 0.5102 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.1888, allocations: 3.797 MB / 0.5139 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.189, allocations: 187.6 kB / 0.5141 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1892, allocations: 47.25 kB / 0.5142 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.1894, allocations: 123.4 kB / 0.5143 GB, free: 2.211 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1894, allocations: 0 / 0.5143 GB, free: 2.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2379/0.4273, allocations: 10.31 MB / 0.5244 GB, free: 32.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.68, allocations: 4.562 kB / 0.5244 GB, free: 32.44 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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.665355804376304] Failed to read output from testmodel.py, exit status != 0: 13.808480780106038 13.824682255 13.674912772 Calling exit ...