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.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.001092/0.001092, 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.001235/0.001235, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.01833/0.01833, allocations: 4.226 MB / 263.4 MB, free: 9.133 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.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 2.505e-06/2.505e-06, allocations: 0 / 391.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.961e-05, allocations: 5.094 kB / 391.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004039/0.004068, allocations: 3.156 MB / 394.9 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.005897, allocations: 1.203 MB / 396.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.006085, allocations: 4 kB / 396.1 MB, free: 1.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.006511, allocations: 202.7 kB / 396.3 MB, free: 1.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.006793, allocations: 166.8 kB / 396.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.006984, allocations: 135.7 kB / 396.6 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.007388, allocations: 0.5758 MB / 397.1 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.00755, allocations: 88.59 kB / 397.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.007804, allocations: 311.3 kB / 397.5 MB, free: 212 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.007976, allocations: 195.4 kB / 397.7 MB, free: 16 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.008031, allocations: 52.05 kB / 397.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.008119, allocations: 71.92 kB / 397.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.008176, allocations: 103.6 kB / 397.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.00828, allocations: 167.6 kB / 398.1 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.0087, allocations: 0.5608 MB / 398.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.008702, allocations: 0 / 398.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.008703, allocations: 0 / 398.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.008709, allocations: 0 / 398.7 MB, free: 15.07 MB / 378.7 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.001081/0.009789, allocations: 0.7383 MB / 399.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.009831, allocations: 16.03 kB / 399.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.875e-05/0.009899, allocations: 58.73 kB / 399.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.009971, allocations: 44.66 kB / 399.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.01063, allocations: 422.9 kB / 399.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.01064, allocations: 20.81 kB / 399.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.01067, allocations: 20.38 kB / 400 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.01104, allocations: 326 kB / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.01105, allocations: 0 / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.01107, allocations: 12 kB / 400.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01107, allocations: 8 kB / 400.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.01141, allocations: 245.8 kB / 400.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01265, allocations: 1.151 MB / 401.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.01294, allocations: 170.5 kB / 401.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.01312, allocations: 116.8 kB / 402 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01314, allocations: 224 / 402 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.01316, allocations: 38.5 kB / 402 MB, free: 11.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.01316, allocations: 0 / 402 MB, free: 11.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001256/0.01441, allocations: 474.2 kB / 402.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.01445, allocations: 55.41 kB / 402.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007188/0.01517, allocations: 389.6 kB / 402.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.0152, allocations: 29.7 kB / 402.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.01536, allocations: 228.2 kB / 403.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.0154, allocations: 43.64 kB / 403.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.0155, allocations: 49.69 kB / 403.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.01563, allocations: 350.7 kB / 403.6 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.01585, allocations: 99.94 kB / 403.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.0161, allocations: 136 kB / 403.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.01653, allocations: 223.3 kB / 404 MB, free: 9.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01653, allocations: 0 / 404 MB, free: 9.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001028/0.01756, allocations: 442.7 kB / 404.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01758, allocations: 4 kB / 404.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01758, allocations: 4 kB / 404.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.01808, allocations: 245.6 kB / 404.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01818, allocations: 43.84 kB / 404.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.01989, allocations: 2.109 MB / 406.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.02015, allocations: 43.75 kB / 406.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.02017, allocations: 8 kB / 406.9 MB, free: 6.367 MB / 378.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 (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.0001629/0.02034, allocations: 146 kB / 407.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.0204, allocations: 35.77 kB / 407.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.02046, allocations: 35.17 kB / 407.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.02047, allocations: 4 kB / 407.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.02047, allocations: 0 / 407.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02047, allocations: 3.938 kB / 407.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.02144, allocations: 0.6434 MB / 407.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.02145, allocations: 0 / 407.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.0215, allocations: 15.98 kB / 407.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.02173, allocations: 168.8 kB / 408 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.02174, allocations: 4 kB / 408 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005466/0.02229, allocations: 0.6461 MB / 408.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.02229, allocations: 4.031 kB / 408.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.02286, allocations: 372.7 kB / 409 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.02297, allocations: 51.73 kB / 409 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.02301, allocations: 0 / 409 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.02322, allocations: 27.98 kB / 409.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.02326, allocations: 7.984 kB / 409.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.02327, allocations: 4 kB / 409.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002801/0.02355, allocations: 271.2 kB / 409.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02355, allocations: 0 / 409.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.0239, allocations: 75.89 kB / 409.4 MB, free: 3.758 MB / 378.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 (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.0008895/0.02479, allocations: 0.905 MB / 410.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007993/0.02559, allocations: 371.3 kB / 410.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02559, allocations: 0 / 410.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.02576, allocations: 79.92 kB / 410.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.02627, allocations: 85.77 kB / 410.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.02989, allocations: 3.334 MB / 414.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.03, allocations: 169.1 kB / 414.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.03011, allocations: 46.94 kB / 414.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.03022, allocations: 108.5 kB / 414.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03022, allocations: 0 / 414.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.05601, allocations: 9.318 MB / 423.8 MB, free: 5.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/7.958, allocations: 7.938 kB / 423.8 MB, free: 5.359 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell_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_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.846370475366712] Failed to read output from testmodel.py, exit status != 0: 8.052792356349528 8.064256234 8.053622913 Calling exit ...