Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.0008477/0.0008477, 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.0009863/0.0009863, 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.8988/0.8988, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.01658/0.01658, allocations: 4.225 MB / 263.4 MB, free: 9.129 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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 391.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.372e-05, allocations: 2.281 kB / 391.7 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003941/0.003965, allocations: 3.183 MB / 394.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.005512, allocations: 1.223 MB / 396.1 MB, free: 452 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.005692, allocations: 7.938 kB / 396.1 MB, free: 444 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.006148, allocations: 202.7 kB / 396.3 MB, free: 240 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.006453, allocations: 178.7 kB / 396.5 MB, free: 60 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.006651, allocations: 127.8 kB / 396.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.007175, allocations: 0.5952 MB / 397.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.007354, allocations: 84.62 kB / 397.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.007653, allocations: 319.2 kB / 397.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.007858, allocations: 207.4 kB / 397.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.007912, allocations: 52 kB / 397.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.008009, allocations: 76 kB / 397.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.00807, allocations: 111.6 kB / 398 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.00818, allocations: 163.6 kB / 398.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.00865, allocations: 0.5725 MB / 398.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.008655, allocations: 3.938 kB / 398.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.008657, allocations: 3.938 kB / 398.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.008664, allocations: 0 / 398.8 MB, free: 13.75 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001322/0.009985, allocations: 0.7491 MB / 399.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.01002, allocations: 8.031 kB / 399.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.01008, allocations: 66.66 kB / 399.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.01014, allocations: 48.66 kB / 399.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.01089, allocations: 430.9 kB / 400.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.01091, allocations: 20.88 kB / 400.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.01094, allocations: 24.38 kB / 400.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.01136, allocations: 354 kB / 400.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.01137, allocations: 0 / 400.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.01139, allocations: 12 kB / 400.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.0114, allocations: 11.94 kB / 400.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.01182, allocations: 281.8 kB / 400.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.01324, allocations: 1.214 MB / 402 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.01362, allocations: 218.1 kB / 402.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.01386, allocations: 136.8 kB / 402.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.0141, allocations: 3.984 kB / 402.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01412, allocations: 34.56 kB / 402.4 MB, free: 10 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.01412, allocations: 0 / 402.4 MB, free: 10 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.00122/0.01534, allocations: 0.5244 MB / 402.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.01537, allocations: 51.41 kB / 402.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01568, allocations: 393.6 kB / 403.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.0157, allocations: 25.7 kB / 403.3 MB, free: 8.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01581, allocations: 220.2 kB / 403.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.01584, allocations: 55.55 kB / 403.6 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.01592, allocations: 57.69 kB / 403.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.01601, allocations: 342.8 kB / 404 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.01618, allocations: 115.9 kB / 404.1 MB, free: 8.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01637, allocations: 156 kB / 404.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.01672, allocations: 250.1 kB / 404.5 MB, free: 7.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01672, allocations: 0 / 404.5 MB, free: 7.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000696/0.01742, allocations: 457.2 kB / 405 MB, free: 7.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01744, allocations: 16.94 kB / 405 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01744, allocations: 0 / 405 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.0181, allocations: 257.5 kB / 405.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01824, allocations: 51.91 kB / 405.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.01978, allocations: 2.14 MB / 407.4 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.01998, allocations: 35.83 kB / 407.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.02, allocations: 11.98 kB / 407.5 MB, free: 4.656 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 (26): * Single equations (assignments): 24 * 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.0001395/0.02013, allocations: 153.8 kB / 407.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.02018, allocations: 39.7 kB / 407.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.02023, allocations: 39.12 kB / 407.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.02023, allocations: 0 / 407.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.02024, allocations: 0 / 407.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.02024, allocations: 3.938 kB / 407.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009541/0.02119, allocations: 0.7293 MB / 408.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.0212, allocations: 0 / 408.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.02125, allocations: 23.98 kB / 408.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.0215, allocations: 176.8 kB / 408.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.02152, allocations: 8 kB / 408.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004439/0.02196, allocations: 0.6733 MB / 409.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02196, allocations: 0 / 409.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.02253, allocations: 436.8 kB / 409.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.02264, allocations: 59.72 kB / 409.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.02267, allocations: 7.938 kB / 409.8 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.02281, allocations: 27.97 kB / 409.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.02285, allocations: 7.984 kB / 409.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.02286, allocations: 0 / 409.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.02308, allocations: 275.2 kB / 410.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02308, allocations: 0 / 410.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.02337, allocations: 79.89 kB / 410.2 MB, free: 1.824 MB / 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 (13): * Single equations (assignments): 12 * 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.0008391/0.02421, allocations: 0.9753 MB / 411.1 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006277/0.02484, allocations: 407.3 kB / 411.5 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02484, allocations: 0 / 411.5 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.025, allocations: 96 kB / 411.6 MB, free: 316 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.02536, allocations: 85.36 kB / 411.7 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1358/0.1611, allocations: 3.45 MB / 415.2 MB, free: 34.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.1612, allocations: 179.4 kB / 415.3 MB, free: 34.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.1614, allocations: 40.59 kB / 415.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1615, allocations: 123.9 kB / 415.5 MB, free: 34.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1615, allocations: 0 / 415.5 MB, free: 34.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.1859, allocations: 9.595 MB / 425.1 MB, free: 31.42 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.104, allocations: 5.125 kB / 425.1 MB, free: 31.41 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric_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_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.918903857469559] Failed to read output from testmodel.py, exit status != 0: 8.200265566818416 8.21235699 8.2019632 Calling exit ...