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.0007568/0.0007568, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008135/0.0008135, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8578/0.8578, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.01691/0.01691, allocations: 4.215 MB / 263.4 MB, free: 9.145 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 391.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.675e-05, allocations: 2.281 kB / 391.7 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004965/0.004991, allocations: 3.256 MB / 394.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.007541, allocations: 1.227 MB / 396.2 MB, free: 392 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.007732, allocations: 11.94 kB / 396.2 MB, free: 380 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.008195, allocations: 214.7 kB / 396.4 MB, free: 164 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.008549, allocations: 178.7 kB / 396.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.008771, allocations: 127.7 kB / 396.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000642/0.009413, allocations: 0.6299 MB / 397.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.009657, allocations: 80.64 kB / 397.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.01004, allocations: 339.2 kB / 397.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.01026, allocations: 215.4 kB / 397.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.01032, allocations: 52 kB / 398 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.01042, allocations: 71.98 kB / 398.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.01048, allocations: 115.6 kB / 398.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.0106, allocations: 171.5 kB / 398.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.0111, allocations: 0.5881 MB / 398.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01111, allocations: 0 / 398.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01111, allocations: 3.938 kB / 398.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.01112, allocations: 3.938 kB / 398.9 MB, free: 13.6 MB / 330.7 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.001229/0.01235, allocations: 0.7728 MB / 399.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.01239, allocations: 8.031 kB / 399.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.01245, allocations: 66.72 kB / 399.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.01252, allocations: 48.61 kB / 399.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.01333, allocations: 455 kB / 400.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.01335, allocations: 25.02 kB / 400.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.01339, allocations: 28.38 kB / 400.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.01388, allocations: 392 kB / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01389, allocations: 0 / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.01391, allocations: 12 kB / 400.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01392, allocations: 8 kB / 400.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.01447, allocations: 365.6 kB / 401.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.01596, allocations: 1.258 MB / 402.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.01656, allocations: 342.5 kB / 402.7 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.01683, allocations: 156.8 kB / 402.8 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.01685, allocations: 4 kB / 402.8 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.01687, allocations: 38.59 kB / 402.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.01687, allocations: 0 / 402.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001654/0.01853, allocations: 0.6961 MB / 403.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.01856, allocations: 59.34 kB / 403.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.01887, allocations: 393.6 kB / 404 MB, free: 8.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01889, allocations: 29.7 kB / 404 MB, free: 8.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.019, allocations: 228.5 kB / 404.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.01905, allocations: 83.3 kB / 404.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.01913, allocations: 61.67 kB / 404.4 MB, free: 7.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.01922, allocations: 346.8 kB / 404.8 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.01945, allocations: 147.9 kB / 404.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.0197, allocations: 185.1 kB / 405.1 MB, free: 7.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.02014, allocations: 313.4 kB / 405.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02015, allocations: 0 / 405.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001012/0.02116, allocations: 0.5901 MB / 406 MB, free: 6.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.02118, allocations: 4.781 kB / 406 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.02118, allocations: 0 / 406 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006775/0.02186, allocations: 329.5 kB / 406.3 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.022, allocations: 71.77 kB / 406.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.0236, allocations: 2.187 MB / 408.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.02382, allocations: 59.78 kB / 408.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.02384, allocations: 15.98 kB / 408.6 MB, free: 3.504 MB / 330.7 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.0001335/0.02397, allocations: 149.8 kB / 408.8 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.02402, allocations: 39.75 kB / 408.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.02408, allocations: 43.7 kB / 408.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02408, allocations: 0 / 408.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.02409, allocations: 4 kB / 408.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.02409, allocations: 64 / 408.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.02516, allocations: 0.8384 MB / 409.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02516, allocations: 0 / 409.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.02523, allocations: 27.98 kB / 409.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.02559, allocations: 248.7 kB / 410 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.02561, allocations: 15.98 kB / 410 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005682/0.02618, allocations: 0.7435 MB / 410.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02618, allocations: 0 / 410.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.02698, allocations: 0.5435 MB / 411.3 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.02708, allocations: 59.72 kB / 411.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.0271, allocations: 0 / 411.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.02726, allocations: 27.97 kB / 411.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.02731, allocations: 19.91 kB / 411.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.02732, allocations: 11.98 kB / 411.4 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.02753, allocations: 275.2 kB / 411.7 MB, free: 360 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02753, allocations: 0 / 411.7 MB, free: 360 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.02781, allocations: 99.83 kB / 411.8 MB, free: 260 kB / 330.7 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.1402/0.168, allocations: 1.072 MB / 412.8 MB, free: 35.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008947/0.1689, allocations: 484.2 kB / 413.3 MB, free: 35.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1689, allocations: 1.062 kB / 413.3 MB, free: 35.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.1692, allocations: 150.2 kB / 413.4 MB, free: 35.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1696, allocations: 85.88 kB / 413.5 MB, free: 35.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.1742, allocations: 3.791 MB / 417.3 MB, free: 33.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.1743, allocations: 194.4 kB / 417.5 MB, free: 33.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.1745, allocations: 47.66 kB / 417.6 MB, free: 33.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1747, allocations: 128 kB / 417.7 MB, free: 33.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1747, allocations: 0 / 417.7 MB, free: 33.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2011, allocations: 10.44 MB / 428.1 MB, free: 29.94 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.168, allocations: 15.25 kB / 428.1 MB, free: 29.93 MB / 330.7 MB " [Timeout remaining time 652] (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: 9.951716893352568] Failed to read output from testmodel.py, exit status != 0: 8.26131865940988 8.268454862 8.255777208 Calling exit ...